mirror of https://gitee.com/openkylin/linux.git
6fe407f2d1
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> |
||
---|---|---|
.. | ||
README | ||
arm-vgic-its.txt | ||
arm-vgic-v3.txt | ||
arm-vgic.txt | ||
mpic.txt | ||
s390_flic.txt | ||
vcpu.txt | ||
vfio.txt | ||
vm.txt | ||
xics.txt |
README
This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL.