Re: [PATCH v4.4 V2 15/43] arm64: Move cpu_die_early to smp.c
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2019-08-01 03:36:04
Also in:
stable
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2019-08-01 03:36:04
Also in:
stable
On 31-07-19, 13:35, Mark Rutland wrote:
On Fri, Jul 12, 2019 at 10:58:03AM +0530, Viresh Kumar wrote:quoted
From: Suzuki K Poulose <suzuki.poulose@arm.com> commit fce6361fe9b0caeba0c05b7d72ceda406f8780df upstream. This patch moves cpu_die_early to smp.c, where it fits better. No functional changes, except for adding the necessary checks for CONFIG_HOTPLUG_CPU. Cc: Mark Rutland <mark.rutland@arm.com> Acked-by: Will Deacon <redacted> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> [ Viresh: Resolved rebase conflict ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>quoted
+void cpu_die_early(void)quoted
+ asm( + "1: wfe\n" + " wfi\n" + " b 1b"); +}Rather than open-coding this loop differently from upstream and the v4.9.y backport, please backport commit: c4bc34d20273db69 ("arm64: Add a helper for parking CPUs in a loop") ... as a prerequisite of this patch.
Done, thanks. -- viresh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel