linux/tools/testing/selftests/kvm/arm64
Marc Zyngier 5c7cf1e44e KVM: arm64: selftests: Fix misleading comment about virtual timer encoding
The userspace-visible encoding for CNTV_CVAL_EL0 and CNTVCNT_EL0
have been swapped for as long as usersapce has had access to the
registers. This is documented in arch/arm64/include/uapi/asm/kvm.h.

Despite that, the get_reg_list test has unhelpful comments indicating
the wrong register for the encoding.

Replace this with definitions exposed in the include file, and
a comment explaining again the brokenness.

Signed-off-by: Marc Zyngier <maz@kernel.org>
2025-10-13 14:43:12 +01:00
..
aarch32_id_regs.c
arch_timer.c
arch_timer_edge_cases.c
debug-exceptions.c
external_aborts.c
get-reg-list.c
hello_el2.c
host_sve.c
hypercalls.c
kvm-uuid.c
no-vgic-v3.c
page_fault_test.c
psci_test.c
set_id_regs.c
smccc_filter.c
vcpu_width_config.c
vgic_init.c
vgic_irq.c
vgic_lpi_stress.c
vpmu_counter_access.c