# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-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_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ERROR: modpost: "xfrm_dev_state_flush" [drivers/net/bonding/bonding.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:150: modules-only.symvers] Error 1 make[2]: *** Deleting file 'modules-only.symvers' make[1]: *** [/kisskb/src/Makefile:1757: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:220: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_44x_fsp2_defconfig_powerpc-gcc5 # Build took: 0:00:49.253605