# 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-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 9bb162fa26ed76031ed0e7dbc77ccea0bf977758 # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel # Build took: 0:01:03.810749