# git rev-parse -q --verify a4ce02525e07d189398dec59a722174bd73679be^{commit} a4ce02525e07d189398dec59a722174bd73679be already have revision, skipping fetch # git checkout -q -f -B kisskb a4ce02525e07d189398dec59a722174bd73679be # git clean -qxdf # < git log -1 # commit a4ce02525e07d189398dec59a722174bd73679be # 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") # Cc: stable@vger.kernel.org # v4.6+ # 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 a4ce02525e07d189398dec59a722174bd73679be # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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; ^ WARNING: vmlinux.o(.text+0x31fc): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x33d0): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-next_pseries_le_defconfig_ppc64le-gcc5 # Build took: 0:02:59.729729