# 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 9bb162fa26ed76031ed0e7dbc77ccea0bf977758 # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 # Build took: 0:00:52.846496