diff options
author | Andre Przywara <andre.przywara@arm.com> | 2015-12-03 14:47:37 +0300 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-20 16:40:04 +0300 |
commit | e4823a7a1b4a4f2549dd223f243779ab9510db22 (patch) | |
tree | 59adbfb70277846ebeffc8666964028abaec03c0 /drivers/irqchip/irq-omap-intc.c | |
parent | 7d450e2821710718fd6703e9c486249cee913bab (diff) | |
download | linux-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 'drivers/irqchip/irq-omap-intc.c')
0 files changed, 0 insertions, 0 deletions