# git rev-parse -q --verify 1ff5c8e8c835e8a81c0868e3050c76563dd56a2c^{commit} 1ff5c8e8c835e8a81c0868e3050c76563dd56a2c already have revision, skipping fetch # git checkout -q -f -B kisskb 1ff5c8e8c835e8a81c0868e3050c76563dd56a2c # git clean -qxdf # < git log -1 # commit 1ff5c8e8c835e8a81c0868e3050c76563dd56a2c # Author: Kefeng Wang # Date: Thu Apr 7 00:57:58 2022 +1000 # # Revert "powerpc: Set max_mapnr correctly" # # This reverts commit 602946ec2f90d5bd965857753880db29d2d9a1e9. # # If CONFIG_HIGHMEM is enabled, no highmem will be added with max_mapnr # set to max_low_pfn, see mem_init(): # # for (pfn = highmem_mapnr; pfn < max_mapnr; ++pfn) { # ... # free_highmem_page(); # } # # Now that virt_addr_valid() has been fixed in the previous commit, we can # revert the change to max_mapnr. # # Fixes: 602946ec2f90 ("powerpc: Set max_mapnr correctly") # Signed-off-by: Kefeng Wang # Reviewed-by: Christophe Leroy # Reported-by: Erhard F. # [mpe: Update change log to reflect series reordering] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220406145802.538416-2-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 1ff5c8e8c835e8a81c0868e3050c76563dd56a2c # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: final link failed: Bad value make[1]: *** [/kisskb/src/Makefile:1154: vmlinux] Error 1 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc5 # Build took: 0:02:03.756068