]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: selftests: Filter out DEMUX registers
authorAndrew Jones <drjones@redhat.com>
Thu, 26 Nov 2020 13:46:41 +0000 (14:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 27 Nov 2020 19:46:47 +0000 (19:46 +0000)
commit76e7f19ba4f1f9467b9c26fa7ac302aad2c7636b
tree864168427a1e7593fa38f64759224dd82af2917c
parente01fac4b4ffa0078df6ae2e8abac8e94768d919d
KVM: arm64: selftests: Filter out DEMUX registers

DEMUX register presence depends on the host's hardware (the
CLIDR_EL1 register to be precise). This means there's no set
of them that we can bless and that it's possible to encounter
new ones when running on different hardware (which would
generate "Consider adding them ..." messages, but we'll never
want to add them.)

Remove the ones we have in the blessed list and filter them
out of the new list, but also provide a new command line switch
to list them if one so desires.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201126134641.35231-3-drjones@redhat.com
tools/testing/selftests/kvm/aarch64/get-reg-list.c