# git rev-parse -q --verify 787c70f2f9990b5a197320152d2fc32cd8a6ad1a^{commit} 787c70f2f9990b5a197320152d2fc32cd8a6ad1a already have revision, skipping fetch # 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/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 787c70f2f9990b5a197320152d2fc32cd8a6ad1a # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pasemi_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- pasemi_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pasemi_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pasemi_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pasemi_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/powerpc-fixes_pasemi_defconfig_powerpc-gcc4.9 # Build took: 0:00:56.217049