# git rev-parse -q --verify feb8e960d780e170e992a70491eec9dd68f4dbf2^{commit} feb8e960d780e170e992a70491eec9dd68f4dbf2 already have revision, skipping fetch # git checkout -q -f -B kisskb feb8e960d780e170e992a70491eec9dd68f4dbf2 # git clean -qxdf # < git log -1 # commit feb8e960d780e170e992a70491eec9dd68f4dbf2 # Author: Christophe Leroy # Date: Fri Apr 17 11:58:36 2020 +0000 # # powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32 # # CONFIG_PPC_KUAP_DEBUG is not selectable because it depends on PPC_32 # which doesn't exists. # # Fixing it leads to a deadlock due to a vital register getting # clobbered in _switch(). # # Change dependency to PPC32 and use r0 instead of r4 in _switch() # # Fixes: e2fb9f544431 ("powerpc/32: Prepare for Kernel Userspace Access Protection") # Cc: stable@vger.kernel.org # v5.2+ # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/540242f7d4573f7cdf1b3bf46bb35f743b2cd68f.1587124651.git.christophe.leroy@c-s.fr # < /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 feb8e960d780e170e992a70491eec9dd68f4dbf2 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM=y # Added to kconfig CONFIG_KVM_BOOK3S_32=m # Added to kconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4089:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_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 0x8e32b4) 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_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+KVM_powerpc-gcc5 # Build took: 0:01:34.491521