Subject: [PATCH v2 2/6] arm64: Move kill_cpu_early to smp.c

From: [email-masked] (Mark Rutland)
Date: Tue, 1 Dec 2015 17:52:55 +0000

On Tue, Dec 01, 2015 at 05:38:54PM +0000, Suzuki K. Poulose wrote:
> On 01/12/15 16:31, Mark Rutland wrote:

[...]

> >We need stuck-in-the-kernel flag to account for CPUs which didn't manage
> >to turn the MMU on (which are either in the spin-table, or failed when
> >they were individually onlined).
> 
> Did you mean to say "turn the MMU off" ?

No, I mean CPUs which were unable to turn the MMU on in the first place.
Perhaps they entered the spin-table but were never individually onlined,
perhaps they didn't support the kernel page size, etc.

When CPUs exit the kernel via PSCI they never switch the MMU off within
the kernel.

Thanks,
Mark.