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)
commitc6232bd40b2eda3819d108e6e3f621ec604e15d8
tree864168427a1e7593fa38f64759224dd82af2917c
parentc73a44161776f6e60d933717f3b34084b0a0eba0
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