# git rev-parse -q --verify 8659a0e0efdd975c73355dbc033f79ba3b31e82c^{commit} 8659a0e0efdd975c73355dbc033f79ba3b31e82c already have revision, skipping fetch # git checkout -q -f -B kisskb 8659a0e0efdd975c73355dbc033f79ba3b31e82c # git clean -qxdf # < git log -1 # commit 8659a0e0efdd975c73355dbc033f79ba3b31e82c # Author: Michael Ellerman # Date: Wed May 20 23:36:05 2020 +1000 # # powerpc/64s: Disable STRICT_KERNEL_RWX # # Several strange crashes have been eventually traced back to # STRICT_KERNEL_RWX and its interaction with code patching. # # Various paths in our ftrace, kprobes and other patching code need to # be hardened against patching failures, otherwise we can end up running # with partially/incorrectly patched ftrace paths, kprobes or jump # labels, which can then cause strange crashes. # # Although fixes for those are in development, they're not -rc material. # # There also seem to be problems with the underlying strict RWX logic, # which needs further debugging. # # So for now disable STRICT_KERNEL_RWX on 64-bit to prevent people from # enabling the option and tripping over the bugs. # # Fixes: 1e0fc9d1eb2b ("powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs") # Cc: stable@vger.kernel.org # v4.13+ # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200520133605.972649-1-mpe@ellerman.id.au # < /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 8659a0e0efdd975c73355dbc033f79ba3b31e82c # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:218:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ ERROR: modpost: "sysrq_mask" [drivers/tty/serial/serial_core.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:94: __modpost] Error 1 make[1]: *** [/kisskb/src/Makefile:1319: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... INFO: Uncompressed kernel (size 0x8df194) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_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_pmac32_defconfig_powerpc-gcc5 # Build took: 0:02:27.895552