]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS
authorEric Auger <eric.auger@redhat.com>
Mon, 18 Jul 2016 10:57:36 +0000 (10:57 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:15 +0000 (18:15 +0100)
commit1e258a95fda6b49f90a9ca51cbb5425460305181
treef212c76226e3226c0efb42abdbb5ed7cf1e7230d
parent81e94426a02be6105b3fe981e1a75042eb464c82
KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS

For VGICv2 save and restore the CPU interface registers
are accessed. Restore the modality which has been altered.
Also explicitly set the iodev_type for both the DIST and CPU
interface.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-mmio-v2.c
virt/kvm/arm/vgic/vgic-mmio.c