linux_dsm_epyc7002/Documentation/virtual/kvm/devices
Christoffer Dall 6d56111c92 KVM: arm/arm64: vgic: Fix GICC_PMR uaccess on GICv3 and clarify ABI
As an oversight, for GICv2, we accidentally export the GICC_PMR register
in the format of the GICH_VMCR.VMPriMask field in the lower 5 bits of a
word, meaning that userspace must always use the lower 5 bits to
communicate with the KVM device and must shift the value left by 3
places to obtain the actual priority mask level.

Since GICv3 supports the full 8 bits of priority masking in the ICH_VMCR,
we have to fix the value we export when emulating a GICv2 on top of a
hardware GICv3 and exporting the emulated GICv2 state to userspace.

Take the chance to clarify this aspect of the ABI.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
2017-04-04 14:33:59 +02:00
..
arm-vgic-its.txt KVM: arm/arm64: Add VGICv3 save/restore API documentation 2016-09-08 12:53:00 +02:00
arm-vgic-v3.txt KVM: arm/arm64: Documentation: Update arm-vgic-v3.txt 2017-01-30 13:47:33 +00:00
arm-vgic.txt KVM: arm/arm64: vgic: Fix GICC_PMR uaccess on GICv3 and clarify ABI 2017-04-04 14:33:59 +02:00
mpic.txt kvm/ppc/mpic: remove default routes from documentation 2013-04-30 11:50:39 +02:00
README kvm: add device control API 2013-04-26 20:27:20 +02:00
s390_flic.txt Documentation: virtual: fix spelling mistake 2016-04-25 16:59:49 +02:00
vcpu.txt KVM: arm64: Require in-kernel irqchip for PMU support 2016-09-27 18:57:07 +02:00
vfio.txt kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
vm.txt KVM: s390: provide CMMA attributes only if available 2016-06-10 12:07:20 +02:00
xics.txt KVM: PPC: Book3S: Add API for in-kernel XICS emulation 2013-05-02 15:28:36 +02:00

This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL.