projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dabf02
)
selftests: KVM: Add OSLSR_EL1 to the list of blessed regs
author
Oliver Upton
<oupton@google.com>
Thu, 3 Feb 2022 17:41:58 +0000
(17:41 +0000)
committer
Marc Zyngier
<maz@kernel.org>
Tue, 8 Feb 2022 14:23:41 +0000
(14:23 +0000)
OSLSR_EL1 is now part of the visible system register state. Add it to
the get-reg-list selftest to ensure we keep it that way.
Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link:
https://lore.kernel.org/r/20220203174159.2887882-6-oupton@google.com
tools/testing/selftests/kvm/aarch64/get-reg-list.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/kvm/aarch64/get-reg-list.c
b/tools/testing/selftests/kvm/aarch64/get-reg-list.c
index f769fc6cd927fc16e5ca7f7866f32b93792c9f9e..f12147c43464e5c2a9cd7561e46c4459d48dd17d 100644
(file)
--- a/
tools/testing/selftests/kvm/aarch64/get-reg-list.c
+++ b/
tools/testing/selftests/kvm/aarch64/get-reg-list.c
@@
-760,6
+760,7
@@
static __u64 base_regs[] = {
ARM64_SYS_REG(2, 0, 0, 15, 5),
ARM64_SYS_REG(2, 0, 0, 15, 6),
ARM64_SYS_REG(2, 0, 0, 15, 7),
+ ARM64_SYS_REG(2, 0, 1, 1, 4), /* OSLSR_EL1 */
ARM64_SYS_REG(2, 4, 0, 7, 0), /* DBGVCR32_EL2 */
ARM64_SYS_REG(3, 0, 0, 0, 5), /* MPIDR_EL1 */
ARM64_SYS_REG(3, 0, 0, 1, 0), /* ID_PFR0_EL1 */