# git rev-parse -q --verify 9bb162fa26ed76031ed0e7dbc77ccea0bf977758^{commit} 9bb162fa26ed76031ed0e7dbc77ccea0bf977758 already have revision, skipping fetch # git checkout -q -f -B kisskb 9bb162fa26ed76031ed0e7dbc77ccea0bf977758 # git clean -qxdf # < git log -1 # commit 9bb162fa26ed76031ed0e7dbc77ccea0bf977758 # Author: Christophe Leroy # Date: Tue Dec 7 06:10:05 2021 +0000 # # powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE # # Allthough kernel text is always mapped with BATs, we still have # inittext mapped with pages, so TLB miss handling is required # when CONFIG_DEBUG_PAGEALLOC or CONFIG_KFENCE is set. # # The final solution should be to set a BAT that also maps inittext # but that BAT then needs to be cleared at end of init, and it will # require more changes to be able to do it properly. # # As DEBUG_PAGEALLOC or KFENCE are debugging, performance is not a big # deal so let's fix it simply for now to enable easy stable application. # # Fixes: 035b19a15a98 ("powerpc/32s: Always map kernel text and rodata with BATs") # Cc: stable@vger.kernel.org # v5.11+ # Reported-by: Maxime Bizon # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/aea33b4813a26bdb9378b5f273f00bd5d4abe240.1638857364.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 9bb162fa26ed76031ed0e7dbc77ccea0bf977758 # < make -s -j 32 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # < make -s -j 32 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 32 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 32 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- MKDIR /kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8/tools/bpf/resolve_btfids/libbpf/ MKDIR /kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8/tools/bpf/resolve_btfids//libsubcmd LINK resolve_btfids BTF: .tmp_vmlinux.btf: pahole version v1.12 is too old, need at least v1.16 Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[1]: *** [/kisskb/src/Makefile:1155: vmlinux] Error 1 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc8 # Build took: 0:02:56.279772