# git rev-parse -q --verify 559089e0a93d44280ec3ab478830af319c56dbe3^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 559089e0a93d44280ec3ab478830af319c56dbe3^{commit} 559089e0a93d44280ec3ab478830af319c56dbe3 # git checkout -q -f -B kisskb 559089e0a93d44280ec3ab478830af319c56dbe3 # git clean -qxdf # < git log -1 # commit 559089e0a93d44280ec3ab478830af319c56dbe3 # Author: Song Liu # Date: Fri Apr 15 09:44:10 2022 -0700 # # vmalloc: replace VM_NO_HUGE_VMAP with VM_ALLOW_HUGE_VMAP # # Huge page backed vmalloc memory could benefit performance in many cases. # However, some users of vmalloc may not be ready to handle huge pages for # various reasons: hardware constraints, potential pages split, etc. # VM_NO_HUGE_VMAP was introduced to allow vmalloc users to opt-out huge # pages. However, it is not easy to track down all the users that require # the opt-out, as the allocation are passed different stacks and may cause # issues in different layers. # # To address this issue, replace VM_NO_HUGE_VMAP with an opt-in flag, # VM_ALLOW_HUGE_VMAP, so that users that benefit from huge pages could ask # specificially. # # Also, remove vmalloc_no_huge() and add opt-in helper vmalloc_huge(). # # Fixes: fac54e2bfb5b ("x86/Kconfig: Select HAVE_ARCH_HUGE_VMALLOC with HAVE_ARCH_HUGE_VMAP") # Link: https://lore.kernel.org/netdev/14444103-d51b-0fb3-ee63-c3f182f0b546@molgen.mpg.de/" # Reviewed-by: Christoph Hellwig # Signed-off-by: Song Liu # Reviewed-by: Rik van Riel # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 559089e0a93d44280ec3ab478830af319c56dbe3 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5811:warning: override: reassigning to symbol MODULE_SIG .config:5814:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:5815:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:5816:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5818:warning: override: reassigning to symbol GCC_PLUGINS .config:5821:warning: override: reassigning to symbol UBSAN # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ERROR: modpost: "_savegpr1_21" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_restfpr_24" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_restfpr_30" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_restgpr1_14" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_restgpr1_16" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_restgpr1_18" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_savefpr_16" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_savefpr_18" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_savefpr_14" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "_restgpr1_24" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! WARNING: modpost: suppressed 48 unresolved symbol warnings because there were too many) make[2]: *** [/kisskb/src/scripts/Makefile.modpost:134: modules-only.symvers] Error 1 make[2]: *** Deleting file 'modules-only.symvers' make[1]: *** [/kisskb/src/Makefile:1749: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:05:09.730379