# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_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/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc15194) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989636 Bytes = 5849.25 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989020 Bytes = 5848.65 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989406 Bytes = 5849.03 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5990169 Bytes = 5849.77 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5988856 Bytes = 5848.49 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989370 Bytes = 5848.99 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5990164 Bytes = 5849.77 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989019 Bytes = 5848.65 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989313 Bytes = 5848.94 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989169 Bytes = 5848.80 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5988985 Bytes = 5848.62 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989423 Bytes = 5849.05 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989309 Bytes = 5848.93 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989083 Bytes = 5848.71 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5959324 Bytes = 5819.65 KiB = 5.68 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:42:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5989027 Bytes = 5848.66 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 # Build took: 0:01:16.367569