ARM: KVM: Move CP15 array into the CPU context structure
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 3 Jan 2016 11:26:01 +0000 (11:26 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:12 +0000 (18:34 +0000)
commitfb32a52a1d4487f3ac5b7ccb659d0beb11ec504f
treeae4c1660133ab040018cbbd657f08a631f084063
parent0ca5565df8ef7534c0d85ec87e6c74f8ebe86e88
ARM: KVM: Move CP15 array into the CPU context structure

Continuing our rework of the CPU context, we now move the CP15
array into the CPU context structure. As this causes quite a bit
of churn, we introduce the vcpu_cp15() macro that abstract the
location of the actual array. This will probably help next time
we have to revisit that code.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_emulate.h
arch/arm/include/asm/kvm_host.h
arch/arm/include/asm/kvm_mmu.h
arch/arm/kernel/asm-offsets.c
arch/arm/kvm/coproc.c
arch/arm/kvm/coproc.h
arch/arm/kvm/emulate.c
arch/arm/kvm/interrupts_head.S