# 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_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_MEMORY_HOTPLUG=n # Added to kconfig CONFIG_MEMORY_HOTREMOVE=n # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTPLUG_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_pseries_defconfig+NO_MEMORY_HOTPLUG_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_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc5 # Build took: 0:02:08.132390