linux_dsm_epyc7002/virt/kvm/arm/vgic
Vijaya Kumar K 94574c9488 KVM: arm/arm64: vgic: Add distributor and redistributor access
VGICv3 Distributor and Redistributor registers are accessed using
KVM_DEV_ARM_VGIC_GRP_DIST_REGS and KVM_DEV_ARM_VGIC_GRP_REDIST_REGS
with KVM_SET_DEVICE_ATTR and KVM_GET_DEVICE_ATTR ioctls.
These registers are accessed as 32-bit and cpu mpidr
value passed along with register offset is used to identify the
cpu for redistributor registers access.

The version of VGIC v3 specification is defined here
Documentation/virtual/kvm/devices/arm-vgic-v3.txt

Also update arch/arm/include/uapi/asm/kvm.h to compile for
AArch32 mode.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@cavium.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:07 +00:00
..
vgic-debug.c KVM: arm/arm64: vgic: Add debugfs vgic-state file 2017-01-25 13:50:03 +01:00
vgic-init.c KVM: arm/arm64: vgic: Add debugfs vgic-state file 2017-01-25 13:50:03 +01:00
vgic-irqfd.c KVM: arm: vgic: Drop build compatibility hack for older kernel versions 2016-09-08 12:53:00 +02:00
vgic-its.c KVM: arm/arm64: Remove struct vgic_irq pending field 2017-01-25 13:26:13 +01:00
vgic-kvm-device.c KVM: arm/arm64: vgic: Add distributor and redistributor access 2017-01-30 13:47:07 +00:00
vgic-mmio-v2.c KVM: arm/arm64: vgic: Add distributor and redistributor access 2017-01-30 13:47:07 +00:00
vgic-mmio-v3.c KVM: arm/arm64: vgic: Add distributor and redistributor access 2017-01-30 13:47:07 +00:00
vgic-mmio.c KVM: arm/arm64: vgic: Add distributor and redistributor access 2017-01-30 13:47:07 +00:00
vgic-mmio.h KVM: arm/arm64: vgic: Implement support for userspace access 2017-01-30 13:47:02 +00:00
vgic-v2.c KVM: arm/arm64: Remove struct vgic_irq pending field 2017-01-25 13:26:13 +01:00
vgic-v3.c KVM: arm/arm64: Remove struct vgic_irq pending field 2017-01-25 13:26:13 +01:00
vgic.c KVM: arm/arm64: Remove struct vgic_irq pending field 2017-01-25 13:26:13 +01:00
vgic.h KVM: arm/arm64: vgic: Add distributor and redistributor access 2017-01-30 13:47:07 +00:00