linux/Documentation/virtual/kvm/devices
Christoffer Dall 99a1db7a2c KVM: arm/arm64: Allow setting the timer IRQ numbers from userspace
First we define an ABI using the vcpu devices that lets userspace set
the interrupt numbers for the various timers on both the 32-bit and
64-bit KVM/ARM implementations.

Second, we add the definitions for the groups and attributes introduced
by the above ABI.  (We add the PMU define on the 32-bit side as well for
symmetry and it may get used some day.)

Third, we set up the arch-specific vcpu device operation handlers to
call into the timer code for anything related to the
KVM_ARM_VCPU_TIMER_CTRL group.

Fourth, we implement support for getting and setting the timer interrupt
numbers using the above defined ABI in the arch timer code.

Fifth, we introduce error checking upon enabling the arch timer (which
is called when first running a VCPU) to check that all VCPUs are
configured to use the same PPI for the timer (as mandated by the
architecture) and that the virtual and physical timers are not
configured to use the same IRQ number.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
2017-06-08 16:59:57 +02:00
..
arm-vgic-its.txt KVM: arm/arm64: Clarification and relaxation to ITS save/restore ABI 2017-05-09 10:51:37 +02:00
arm-vgic-v3.txt KVM: arm/arm64: Add GICV3 pending table save API documentation 2017-05-08 14:31:22 +02: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
s390_flic.txt KVM: s390: introduce adapter interrupt inject function 2017-04-06 13:15:37 +02:00
vcpu.txt KVM: arm/arm64: Allow setting the timer IRQ numbers from userspace 2017-06-08 16:59:57 +02:00
vfio.txt KVM: PPC: VFIO: Add in-kernel acceleration for VFIO 2017-04-20 11:39:26 +10:00
vm.txt s390: kvm: Cpu model support for msa6, msa7 and msa8 2017-04-26 14:19:01 +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.