Files
linux/arch/arm64/include/asm
Alexandru Elisei 583cda1b0e KVM: arm64: Refuse to run VCPU if the PMU doesn't match the physical CPU
Userspace can assign a PMU to a VCPU with the KVM_ARM_VCPU_PMU_V3_SET_PMU
device ioctl. If the VCPU is scheduled on a physical CPU which has a
different PMU, the perf events needed to emulate a guest PMU won't be
scheduled in and the guest performance counters will stop counting. Treat
it as an userspace error and refuse to run the VCPU in this situation.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220127161759.53553-7-alexandru.elisei@arm.com
2022-02-08 17:51:22 +00:00
..
2020-09-07 15:00:52 +01:00
2021-09-08 15:32:35 -07:00
2021-12-13 18:53:00 +00:00
2020-12-02 19:49:11 +00:00
2021-10-21 10:45:22 +01:00
2021-03-24 20:19:30 +00:00
2021-10-01 13:31:00 +01:00
2021-10-07 09:30:24 +01:00
2020-09-11 16:33:43 +01:00
2021-10-01 14:54:45 +01:00
2020-07-24 13:15:20 +01:00
2021-09-29 16:54:33 +01:00