OpenCloudOS-Kernel/Documentation/virtual/kvm/devices
Christoffer Dall 6fe407f2d1 KVM: arm64: Require in-kernel irqchip for PMU support
If userspace creates a PMU for the VCPU, but doesn't create an in-kernel
irqchip, then we end up in a nasty path where we try to take an
uninitialized spinlock, which can lead to all sorts of breakages.

Luckily, QEMU always creates the VGIC before the PMU, so we can
establish this as ABI and check for the VGIC in the PMU init stage.
This can be relaxed at a later time if we want to support PMU with a
userspace irqchip.

Cc: stable@vger.kernel.org
Cc: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-09-27 18:57:07 +02:00
..
README kvm: add device control API 2013-04-26 20:27:20 +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: Add VGICv3 save/restore API documentation 2016-09-08 12:53:00 +02:00
arm-vgic.txt KVM: arm/arm64: Add VGICv3 save/restore API documentation 2016-09-08 12:53:00 +02:00
mpic.txt kvm/ppc/mpic: remove default routes from documentation 2013-04-30 11:50:39 +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

README

This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL.