diff options
author | Eric Auger <eric.auger@redhat.com> | 2020-01-24 17:25:35 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-01-28 16:05:05 +0300 |
commit | c01d6a18023b94fdd0cb7cf11bbfe769bf71653f (patch) | |
tree | 2b72cd9e5e1dfec623938181a4a4599f47667ded /lib/libcrc32c.c | |
parent | aa76829171e98bd75a0cc00b6248eca269ac7f4f (diff) | |
download | linux-c01d6a18023b94fdd0cb7cf11bbfe769bf71653f.tar.xz |
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
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions