Marc Zyngier 14bda7a927 KVM: arm64: Add kvm_vcpu_has_pmu() helper
There are a number of places where we check for the KVM_ARM_VCPU_PMU_V3
feature. Wrap this check into a new kvm_vcpu_has_pmu(), and use
it at the existing locations.

No functional change.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
2020-11-27 11:39:14 +00:00
..
2020-10-27 10:44:11 +01:00
2020-11-06 12:42:49 -08:00
2020-09-17 12:05:36 +01:00
2020-10-23 09:46:16 -07:00