KVM: selftests: get-reg-list: support ID register features
authorJoey Gouly <joey.gouly@arm.com>
Tue, 6 Jun 2023 14:58:58 +0000 (15:58 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Jun 2023 15:52:42 +0000 (16:52 +0100)
commitee053e03b08e1b287d9a43152e4623a04cb24fe6
treeaab67f2c2192a809e097a5c2bcf3011e4fd54ae2
parent6c792b7d3c2c901cdd76b760d6676510e83c778d
KVM: selftests: get-reg-list: support ID register features

This stops the test complaining about missing registers, when running
on an older kernel that does not support newer features.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Mark Brown <broonie@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Link: https://lore.kernel.org/r/20230606145859.697944-20-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/kvm/aarch64/get-reg-list.c