summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2020-10-29 21:17:01 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-11-08 06:02:45 -0500
commitfd02029a9e019e941835e110651486e2d77d3f84 (patch)
treeb80e59954045c52d8d39d3a6becc385c38fae3f9 /certs
parentac4a4d6de22e674cd6e3fe57199a15383496aad2 (diff)
KVM: selftests: Add aarch64 get-reg-list test
Check for KVM_GET_REG_LIST regressions. The blessed list was created by running on v4.15 with the --core-reg-fixup option. The following script was also used in order to annotate system registers with their names when possible. When new system registers are added the names can just be added manually using the same grep. while read reg; do if [[ ! $reg =~ ARM64_SYS_REG ]]; then printf "\t$reg\n" continue fi encoding=$(echo "$reg" | sed "s/ARM64_SYS_REG(//;s/),//") if ! name=$(grep "$encoding" ../../../../arch/arm64/include/asm/sysreg.h); then printf "\t$reg\n" continue fi name=$(echo "$name" | sed "s/.*SYS_//;s/[\t ]*sys_reg($encoding)$//") printf "\t$reg\t/* $name */\n" done < <(aarch64/get-reg-list --core-reg-fixup --list) Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20201029201703.102716-3-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions