]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: selftests: get-reg-list: actually enable pmu regs in pmu sublist
authorAndrew Jones <drjones@redhat.com>
Tue, 13 Jul 2021 20:37:42 +0000 (22:37 +0200)
committerMarc Zyngier <maz@kernel.org>
Wed, 14 Jul 2021 10:55:18 +0000 (11:55 +0100)
commitad620c54d730c00f6033df7ed243410998a0a650
tree2be6847b578b40ae38b2211e4c64b3f6f05cc3d1
parente3b8b90d30ae39b2fbf028a88f593423ad28cefb
KVM: arm64: selftests: get-reg-list: actually enable pmu regs in pmu sublist

We reworked get-reg-list to make it easier to enable optional register
sublists by parametrizing their vcpu feature flags as well as making
other generalizations. That was all to make sure we enable the PMU
registers when we want to test them. Somehow we forgot to actually
include the PMU feature flag in the PMU sublist description though!
Do that now.

Fixes: 10eea3d1786a ("KVM: arm64: selftests: get-reg-list: Split base and pmu registers")
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210713203742.29680-3-drjones@redhat.com
tools/testing/selftests/kvm/aarch64/get-reg-list.c