# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 b9ee5e04fd77898208c51b1395fa0b5e8536f9b6 # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] FIT description: Linux 5.3.0-rc2-gb9ee5e04fd77 Created: Mon Aug 12 23:11:35 2019 Image 0 (kernel@0) Description: Linux 5.3.0-rc2-gb9ee5e04fd77 Created: Mon Aug 12 23:11:35 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4707067 Bytes = 4596.75 KiB = 4.49 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808ae390 Hash algo: sha1 Hash value: dd60004c7829e46c0439839f32043ae461053d7d Image 1 (fdt@boston) Description: img,boston Device Tree Created: Mon Aug 12 23:11:35 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Mon Aug 12 23:11:35 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Mon Aug 12 23:11:35 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 4615 Bytes = 4.51 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 8754eadee600cac22c9c34884cd901aac7e95e8a Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Mon Aug 12 23:11:35 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 5174 Bytes = 5.05 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 1ab7d0871c0a9345c6269fb491bf028224da8256 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Mon Aug 12 23:11:35 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel # Build took: 0:01:38.765049