linux/tools/testing/selftests/kvm/arm64
Fuad Tabba 65a38ddeae KVM: arm64: selftests: Add MMIO sign-extending load test
Add a test for sign-extending MMIO loads (LDRSB, LDRSH, LDRSW) into Xt
and Wt destinations, with and without the sign bit set. The host supplies
the MMIO data and checks the guest register holds the sign-extended value.

Repeat the loads big-endian on a mixed-endian implementation. Issue those
at EL0: SCTLR_EL1.EE would make an EL1 load big-endian but also walk the
little-endian page tables big-endian, whereas SCTLR_EL1.E0E selects only
EL0 data endianness and leaves the walk little-endian.

Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260706115522.954913-3-fuad.tabba@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
2026-07-06 17:18:34 +01:00
..
aarch32_id_regs.c KVM: selftests: Use u64 instead of uint64_t 2026-04-20 14:54:16 -07:00
arch_timer_edge_cases.c KVM: selftests: Use s32 instead of int32_t 2026-04-20 14:54:16 -07:00
arch_timer.c KVM: selftests: Use u32 instead of uint32_t 2026-04-20 14:54:16 -07:00
at.c KVM: arm64: selftests: Avoid testing the IMPDEF behavior 2026-04-01 17:29:21 +01:00
debug-exceptions.c KVM: selftests: Use u8 instead of uint8_t 2026-04-20 14:54:17 -07: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: selftests: Use u32 instead of uint32_t 2026-04-20 14:54:16 -07:00
idreg-idst.c KVM: selftests: Use u64 instead of uint64_t 2026-04-20 14:54:16 -07:00
kvm-uuid.c KVM: arm64: selftests: Select SMCCC conduit based on current EL 2025-09-24 19:23:32 +01:00
mmio_sign_ext.c KVM: arm64: selftests: Add MMIO sign-extending load test 2026-07-06 17:18:34 +01:00
no-vgic.c KVM: arm64: selftests: Add missing GIC CDEN to no-vgic-v5 selftest 2026-05-23 15:07:41 +01:00
page_fault_test.c KVM: selftests: Replace "vaddr" with "gva" throughout 2026-04-20 14:54:17 -07:00
psci_test.c KVM: selftests: Use u32 instead of uint32_t 2026-04-20 14:54:16 -07:00
sea_to_user.c KVM: selftests: Replace "paddr" with "gpa" throughout 2026-04-20 14:54:17 -07:00
set_id_regs.c KVM selftests type renames for 7.1 2026-04-27 04:24:41 -04:00
smccc_filter.c KVM: selftests: Use u32 instead of uint32_t 2026-04-20 14:54:16 -07:00
vcpu_width_config.c
vgic_init.c KVM: selftests: Use u32 instead of uint32_t 2026-04-20 14:54:16 -07:00
vgic_irq.c KVM: selftests: Drop "vaddr_" from APIs that allocate memory for a given VM 2026-04-20 14:54:17 -07:00
vgic_lpi_stress.c KVM: selftests: Use gpa_t instead of vm_paddr_t 2026-04-20 14:54:16 -07:00
vgic_v5.c KVM: arm64: selftests: Improve error handling for GICv5 PPI selftest 2026-05-23 15:07:41 +01:00
vpmu_counter_access.c KVM: selftests: Use u8 instead of uint8_t 2026-04-20 14:54:17 -07:00