# git rev-parse -q --verify b9ee5e04fd77898208c51b1395fa0b5e8536f9b6^{commit} b9ee5e04fd77898208c51b1395fa0b5e8536f9b6 already have revision, skipping fetch # git checkout -q -f -B kisskb b9ee5e04fd77898208c51b1395fa0b5e8536f9b6 # git clean -qxdf # < git log -1 # commit b9ee5e04fd77898208c51b1395fa0b5e8536f9b6 # Author: Christophe Leroy # Date: Thu Aug 8 12:48:26 2019 +0000 # # powerpc/64e: Drop stale call to smp_processor_id() which hangs SMP startup # # Commit ebb9d30a6a74 ("powerpc/mm: any thread in one core can be the # first to setup TLB1") removed the need to know the cpu_id in # early_init_this_mmu(), but the call to smp_processor_id() which was # marked __maybe_used remained. # # Since commit ed1cd6deb013 ("powerpc: Activate CONFIG_THREAD_INFO_IN_TASK") # thread_info cannot be reached before MMU is properly set up. # # Drop this stale call to smp_processor_id() which makes SMP hang when # CONFIG_PREEMPT is set. # # Fixes: ebb9d30a6a74 ("powerpc/mm: any thread in one core can be the first to setup TLB1") # Fixes: ed1cd6deb013 ("powerpc: Activate CONFIG_THREAD_INFO_IN_TASK") # Cc: stable@vger.kernel.org # v5.1+ # Reported-by: Chris Packham # Signed-off-by: Christophe Leroy # Tested-by: Chris Packham # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/bef479514f4c08329fa649f67735df8918bc0976.1565268248.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 b9ee5e04fd77898208c51b1395fa0b5e8536f9b6 # < make -s -j 48 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 48 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:208: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; ^ /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^ INFO: Uncompressed kernel (size 0x8b8948) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Completed OK # rm -rf /kisskb/build/powerpc-fixes_pmac32_defconfig_powerpc-gcc5 # Build took: 0:01:27.203626