commit | c01d6a18023b94fdd0cb7cf11bbfe769bf71653f | [log] [tgz] |
---|---|---|
author | Eric Auger <eric.auger@redhat.com> | Fri Jan 24 15:25:35 2020 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Tue Jan 28 13:05:05 2020 +0000 |
tree | 2b72cd9e5e1dfec623938181a4a4599f47667ded | |
parent | aa76829171e98bd75a0cc00b6248eca269ac7f4f [diff] |
KVM: arm64: pmu: Only handle supported event counters Let the code never use unsupported event counters. Change kvm_pmu_handle_pmcr() to only reset supported counters and kvm_pmu_vcpu_reset() to only stop supported counters. Other actions are filtered on the supported counters in kvm/sysregs.c Signed-off-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200124142535.29386-5-eric.auger@redhat.com