# 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_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/iss476-smp_defconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x61551c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61551c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Completed OK # rm -rf /kisskb/build/powerpc-next_44x_iss476-smp_defconfig_powerpc-gcc5 # Build took: 0:00:33.712102