linux/tools/testing/selftests/kvm/arm64
Mark Brown a186fbcfd8 KVM: arm64: selftests: Filter ZCR_EL2 in get-reg-list
get-reg-list includes ZCR_EL2 in the list of EL2 registers that it looks
for when NV is enabled but does not have any feature gate for this register,
meaning that testing any combination of features that includes EL2 but does
not include SVE will result in a test failure due to a missing register
being reported:

| The following lines are missing registers:
|
|	ARM64_SYS_REG(3, 4, 1, 2, 0),

Add ZCR_EL2 to feat_id_regs so that the test knows not to expect to see it
without SVE being enabled.

Fixes: 3a90b6f279 ("KVM: arm64: selftests: get-reg-list: Add base EL2 registers")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20251024-kvm-arm64-get-reg-list-zcr-el2-v1-1-0cd0ff75e22f@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
2025-10-30 16:13:27 +00:00
..
aarch32_id_regs.c KVM: arm64: Get rid of ARM64_FEATURE_MASK() 2025-08-21 16:31:56 -07:00
arch_timer.c KVM: arm64: selftests: Use hyp timer IRQs when test runs at EL2 2025-09-24 19:23:32 +01:00
arch_timer_edge_cases.c KVM: arm64: selftests: Track width of timer counter as "int", not "uint64_t" 2025-10-13 14:17:03 +01:00
debug-exceptions.c KVM/arm64 changes for 6.17, take #2 2025-08-29 12:57:31 -04:00
external_aborts.c KVM: arm64: selftests: Test effective value of HCR_EL2.AMO 2025-10-13 14:17:03 +01:00
get-reg-list.c KVM: arm64: selftests: Filter ZCR_EL2 in get-reg-list 2025-10-30 16:13:27 +00:00
hello_el2.c KVM: arm64: selftests: Cope with arch silliness in EL2 selftest 2025-09-24 19:24:02 +01:00
host_sve.c KVM: arm64: selftests: Add test for SVE host corruption 2025-05-06 09:50:56 +01:00
hypercalls.c KVM: arm64: selftests: Select SMCCC conduit based on current EL 2025-09-24 19:23:32 +01:00
kvm-uuid.c KVM: arm64: selftests: Select SMCCC conduit based on current EL 2025-09-24 19:23:32 +01:00
no-vgic-v3.c KVM: arm64: selftests: Create a VGICv3 for 'default' VMs 2025-09-24 19:23:32 +01:00
page_fault_test.c KVM: arm64: Get rid of ARM64_FEATURE_MASK() 2025-08-21 16:31:56 -07:00
psci_test.c KVM: arm64: selftests: Select SMCCC conduit based on current EL 2025-09-24 19:23:32 +01:00
set_id_regs.c KVM: arm64: selftests: Sync ID_AA64PFR1, MPIDR, CLIDR in guest 2025-10-13 14:17:03 +01:00
smccc_filter.c KVM: arm64: selftests: Enable EL2 by default 2025-09-24 19:23:32 +01:00
vcpu_width_config.c KVM: selftests: Use canonical $(ARCH) paths for KVM selftests directories 2024-12-18 14:15:04 -08:00
vgic_init.c KVM: arm64: selftests: Create a VGICv3 for 'default' VMs 2025-09-24 19:23:32 +01:00
vgic_irq.c KVM: arm64: selftests: Create a VGICv3 for 'default' VMs 2025-09-24 19:23:32 +01:00
vgic_lpi_stress.c KVM: arm64: selftests: Actually enable IRQs in vgic_lpi_stress 2025-10-13 14:28:27 +01:00
vpmu_counter_access.c KVM: arm64: selftests: Use the vCPU attr for setting nr of PMU counters 2025-09-24 19:23:32 +01:00