original_kernel/Documentation/virtual/kvm
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
..
arm
devices KVM: arm64: Require in-kernel irqchip for PMU support 2016-09-27 18:57:07 +02:00
00-INDEX
api.txt KVM: documentation: fix KVM_CAP_X2APIC_API information 2016-08-04 14:01:21 +02:00
cpuid.txt
hypercalls.txt
locking.txt
mmu.txt
msr.txt
nested-vmx.txt
ppc-pv.txt
review-checklist.txt
s390-diag.txt
timekeeping.txt