# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc83xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc83xx_defconfig_powerpc-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; ^ INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65d6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x66ddc4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3265435 Bytes = 3188.90 KiB = 3.11 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3295222 Bytes = 3217.99 KiB = 3.14 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3294584 Bytes = 3217.37 KiB = 3.14 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3294897 Bytes = 3217.67 KiB = 3.14 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3294694 Bytes = 3217.47 KiB = 3.14 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3294865 Bytes = 3217.64 KiB = 3.14 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.3.0-rc2-ga4ce02525e07 Created: Sun Aug 11 16:43:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3294921 Bytes = 3217.70 KiB = 3.14 MiB Load Address: 00700000 Entry Point: 00700294 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc83xx_defconfig_powerpc-gcc5 # Build took: 0:00:58.949429