linux/tools/testing/selftests/kvm/arm64
Paolo Bonzini 39f1c201b9 KVM selftests type renames for 7.1
Renames types across all KVM selftests to more closely align with types used
 in the kernel:
 
   vm_vaddr_t -> gva_t
   vm_paddr_t -> gpa_t
 
   uint64_t -> u64
   uint32_t -> u32
   uint16_t -> u16
   uint8_t  -> u8
 
   int64_t -> s64
   int32_t -> s32
   int16_t -> s16
   int8_t  -> s8
 
 Using the kernel's preferred types eliminates a source of friction for many
 contributors, as the majority of KVM selftests contributions come from kernel
 developers.  The kernel names are also shorter, which allows for more concise
 code, and in any many cases eliminates newlines thanks to shorter types and
 parameter names.
 
 Rename variables and parameters as well as types, e.g. gpa instead of paddr,
 to again align with the kernel, and in a few cases to remove ambiguity, e.g.
 where paddr is used to refer to a _host_ physical address.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKTobbabEP7vbhhN9OlYIJqCjN/0FAmnqaAUACgkQOlYIJqCj
 N/2k0Q//eRyhxrf7ZX7F3LNRLeHvvETipwXlkaiIT47HBnCf/hECCDiU4nmi5w3s
 QA9Jmt4DcbvUd0OxHwxTGoTA53/Y5g4abJUU7W3pviBxNo4aMnyw+92L1I4oQVEN
 gLCK7fQ+jl9e/utKCIhSiQPYfHgPGvSaWbP0X1WFNVfpiOryZt2z2iWo1c0kp5jv
 mdAmWPwNX9ygWB0xLfc4MCo2S9Cgi3CvmIIVxHKnQt0V6yv+Lyzv725dy2FVbw/r
 3CGTUM/Nr4mvbjBZsutaZLUY2+i/0g8VAp00m+SRhvREdAKUZla0eCbNJKr5qEji
 jfGvZssQtv/1NOP5X79b0ewRNJ17ZhQ5hkUczh08H9ekGDrRyByUpbWTrC98ePYb
 GmUEHZRfulxNEPa7lAqFfOCBZ1C2uHXD/+slh3ZQp+xtlwgj6iFQGk9zgN6Cw89p
 RCla+R8LkEWQZjhJ4ZJzgLJggLD6/3UbgpV6Ic/KKxKGgIKMxeYmYDC1NiYmGN4T
 5i4p3tMy6cHIwDEdNhix5/7VWZ5VGGRx0g+aQvjTvtmt3zoae+CwHX3kSowfLcPu
 9jN87NPFl09IC6mB90Bebufzx0nUzCudyto7jqQaV1dVdRhkXe7YOdZZb5QtDVNu
 3pPfH4+Zyx62emOOZO/pMTZgkLXye5ak/02TxrzheWCYUFt8Uvg=
 =nYWK
 -----END PGP SIGNATURE-----

Merge tag 'kvm-x86-selftests_kernel_types-7.1' of https://github.com/kvm-x86/linux into HEAD

KVM selftests type renames for 7.1

Renames types across all KVM selftests to more closely align with types used
in the kernel:

  vm_vaddr_t -> gva_t
  vm_paddr_t -> gpa_t

  uint64_t -> u64
  uint32_t -> u32
  uint16_t -> u16
  uint8_t  -> u8

  int64_t -> s64
  int32_t -> s32
  int16_t -> s16
  int8_t  -> s8

Using the kernel's preferred types eliminates a source of friction for many
contributors, as the majority of KVM selftests contributions come from kernel
developers.  The kernel names are also shorter, which allows for more concise
code, and in any many cases eliminates newlines thanks to shorter types and
parameter names.

Rename variables and parameters as well as types, e.g. gpa instead of paddr,
to again align with the kernel, and in a few cases to remove ambiguity, e.g.
where paddr is used to refer to a _host_ physical address.
2026-04-27 04:24:41 -04: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
no-vgic.c KVM: selftests: Use u64 instead of uint64_t 2026-04-20 14:54:16 -07: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: selftests: Use u32 instead of uint32_t 2026-04-20 14:54:16 -07:00
vpmu_counter_access.c KVM: selftests: Use u8 instead of uint8_t 2026-04-20 14:54:17 -07:00