summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2015-12-03 14:47:37 +0300
committerChristoffer Dall <christoffer.dall@linaro.org>2016-05-20 16:40:04 +0300
commite4823a7a1b4a4f2549dd223f243779ab9510db22 (patch)
tree59adbfb70277846ebeffc8666964028abaec03c0 /init
parent7d450e2821710718fd6703e9c486249cee913bab (diff)
downloadlinux-e4823a7a1b4a4f2549dd223f243779ab9510db22.tar.xz
KVM: arm/arm64: vgic-new: Add GICH_VMCR accessors
Since the GIC CPU interface is always virtualized by the hardware, we don't have CPU interface state information readily available in our emulation if userland wants to save or restore it. Fortunately the GIC hypervisor interface provides the VMCR register to access the required virtual CPU interface bits. Provide wrappers for GICv2 and GICv3 hosts to have access to this register. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions