ARM: KVM: perform HYP initilization for hotplugged CPUs
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 Apr 2013 18:12:07 +0000 (19:12 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Mon, 29 Apr 2013 05:23:11 +0000 (22:23 -0700)
commitd157f4a5155f4fbd0d1da66b3d2f504c13bd194d
treedd0a619e12202f2ce972a0412401b2b4d2329992
parent5a677ce044f18a341ab942e23516e52ad89f7687
ARM: KVM: perform HYP initilization for hotplugged CPUs

Now that we have the necessary infrastructure to boot a hotplugged CPU
at any point in time, wire a CPU notifier that will perform the HYP
init for the incoming CPU.

Note that this depends on the platform code and/or firmware to boot the
incoming CPU with HYP mode enabled and return to the kernel by following
the normal boot path (HYP stub installed).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/kvm_mmu.h
arch/arm/kvm/arm.c
arch/arm/kvm/mmu.c