summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorColton Lewis <coltonlewis@google.com>2026-11-18 20:36:25 +0000
committerMarc Zyngier <maz@kernel.org>2026-11-19 10:31:23 +0000
commitaccc93b77267b739b48ab34cb5bcaffd1fbb5db9 (patch)
tree3f0a43b80ad7378b90f60d4e417b0cbe406a64d9 /tools/perf/scripts/python/bin
parent0f1bdabb82be5d1b5401364cd828caf0985dad48 (diff)
KVM: arm64: selftests: Verify HCR_EL2.NV1 is RES0 when E2H0 is NI_NV1
In a VHE-only EL2 guest (KVM_ARM_VCPU_HAS_EL2 without KVM_ARM_VCPU_HAS_EL2_E2H0), KVM advertises ID_AA64MMFR4_EL1.E2H0 as NI_NV1, making HCR_EL2.E2H RES1 and HCR_EL2.NV1 RES0. Extend hello_el2 to attempt clearing HCR_EL2.E2H and setting HCR_EL2.NV1 from userspace via KVM_SET_ONE_REG, verifying that HCR_EL2.E2H remains RES1 and HCR_EL2.NV1 is masked to RES0. Add a comment explaining why the check is performed from userspace rather than inside the guest. Signed-off-by: Colton Lewis <coltonlewis@google.com> Link: https://patch.msgid.link/20261118203625.743428-3-coltonlewis@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions