Re: [PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

2016-02-09 Thread Catalin Marinas
On Mon, Feb 08, 2016 at 04:24:03PM +, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 04:04:46PM +, Catalin Marinas wrote: > > On Wed, Feb 03, 2016 at 06:00:16PM +, Marc Zyngier wrote: > > > diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S > > > index 6f2f377..f9b6a5b 1006

Re: [PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

2016-02-08 Thread Mark Rutland
On Mon, Feb 08, 2016 at 04:04:46PM +, Catalin Marinas wrote: > On Wed, Feb 03, 2016 at 06:00:16PM +, Marc Zyngier wrote: > > Having both VHE and non-VHE capable CPUs in the same system > > is likely to be a recipe for disaster. > > > > If the boot CPU has VHE, but a secondary is not, we wo

Re: [PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

2016-02-08 Thread Catalin Marinas
On Wed, Feb 03, 2016 at 06:00:16PM +, Marc Zyngier wrote: > Having both VHE and non-VHE capable CPUs in the same system > is likely to be a recipe for disaster. > > If the boot CPU has VHE, but a secondary is not, we won't be > able to downgrade and run the kernel at EL1. Add CPU hotplug > to

Re: [PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

2016-02-04 Thread Christoffer Dall
On Wed, Feb 03, 2016 at 06:00:16PM +, Marc Zyngier wrote: > Having both VHE and non-VHE capable CPUs in the same system > is likely to be a recipe for disaster. > > If the boot CPU has VHE, but a secondary is not, we won't be > able to downgrade and run the kernel at EL1. Add CPU hotplug > to

[PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

2016-02-03 Thread Marc Zyngier
Having both VHE and non-VHE capable CPUs in the same system is likely to be a recipe for disaster. If the boot CPU has VHE, but a secondary is not, we won't be able to downgrade and run the kernel at EL1. Add CPU hotplug to the mix, and this produces a terrifying mess. Let's solve the problem onc