# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 a4ce02525e07d189398dec59a722174bd73679be # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8560_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/tqm8560_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8560_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x4e874c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4d808c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:23:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2465033 Bytes = 2407.26 KiB = 2.35 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:23:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2496732 Bytes = 2438.21 KiB = 2.38 MiB Load Address: 00500000 Entry Point: 005002e8 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_tqm8560_defconfig_powerpc-gcc4.6 # Build took: 0:00:37.945912