]> 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)
commit9c3bf79ec57c0e109f73b1f0e86a09d2faf509eb
tree864168427a1e7593fa38f64759224dd82af2917c
parentef36ac8a5b4e988ca5ba216ced09b6c1aff20411
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