# git rev-parse -q --verify 787c70f2f9990b5a197320152d2fc32cd8a6ad1a^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-test # git rev-parse -q --verify 787c70f2f9990b5a197320152d2fc32cd8a6ad1a^{commit} 787c70f2f9990b5a197320152d2fc32cd8a6ad1a # git checkout -q -f -B kisskb 787c70f2f9990b5a197320152d2fc32cd8a6ad1a # git clean -qxdf # < git log -1 # commit 787c70f2f9990b5a197320152d2fc32cd8a6ad1a # Author: Nicholas Piggin # Date: Fri Aug 20 20:34:31 2021 +1000 # # powerpc/64s: Fix scv implicit soft-mask table for relocated kernels # # The implict soft-mask table addresses get relocated if they use a # relative symbol like a label. This is right for code that runs relocated # but not for unrelocated. The scv interrupt vectors run unrelocated, so # absolute addresses are required for their soft-mask table entry. # # This fixes crashing with relocated kernels, usually an asynchronous # interrupt hitting in the scv handler, then hitting the trap that checks # whether r1 is in userspace. # # Fixes: 325678fd0522 ("powerpc/64s: add a table of implicit soft-masked addresses") # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210820103431.1701240-1-npiggin@gmail.com # < /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 787c70f2f9990b5a197320152d2fc32cd8a6ad1a # < make -s -j 48 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 48 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 48 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 48 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- Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel # Build took: 0:01:41.882781