mirror_ubuntu-kernels/tools/testing/selftests/kvm/aarch64
Oliver Upton 123f42f0ad Merge branch kvm-arm64/pmu_pmcr_n into kvmarm/next
* kvm-arm64/pmu_pmcr_n:
  : User-defined PMC limit, courtesy Raghavendra Rao Ananta
  :
  : Certain VMMs may want to reserve some PMCs for host use while running a
  : KVM guest. This was a bit difficult before, as KVM advertised all
  : supported counters to the guest. Userspace can now limit the number of
  : advertised PMCs by writing to PMCR_EL0.N, as KVM's sysreg and PMU
  : emulation enforce the specified limit for handling guest accesses.
  KVM: selftests: aarch64: vPMU test for validating user accesses
  KVM: selftests: aarch64: vPMU register test for unimplemented counters
  KVM: selftests: aarch64: vPMU register test for implemented counters
  KVM: selftests: aarch64: Introduce vpmu_counter_access test
  tools: Import arm_pmuv3.h
  KVM: arm64: PMU: Allow userspace to limit PMCR_EL0.N for the guest
  KVM: arm64: Sanitize PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR} before first run
  KVM: arm64: Add {get,set}_user for PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR}
  KVM: arm64: PMU: Set PMCR_EL0.N for vCPU based on the associated PMU
  KVM: arm64: PMU: Add a helper to read a vCPU's PMCR_EL0
  KVM: arm64: Select default PMU in KVM_ARM_VCPU_INIT handler
  KVM: arm64: PMU: Introduce helpers to set the guest's PMU

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
2023-10-30 20:24:19 +00:00
..
aarch32_id_regs.c tools headers arm64: Update sysreg.h with kernel sources 2023-10-18 23:36:25 +00:00
arch_timer.c KVM: selftests: Rip out old, param-based guest assert macros 2023-08-02 14:43:16 -07:00
debug-exceptions.c tools headers arm64: Update sysreg.h with kernel sources 2023-10-18 23:36:25 +00:00
get-reg-list.c KVM: arm64: selftests: Move finalize_vcpu back to run_test 2023-08-09 12:15:16 +05:30
hypercalls.c KVM: selftests: Rip out old, param-based guest assert macros 2023-08-02 14:43:16 -07:00
page_fault_test.c Merge branch kvm-arm64/writable-id-regs into kvmarm/next 2023-10-30 20:21:09 +00:00
psci_test.c KVM: selftests: Make vCPU exit reason test assertion common 2023-03-14 10:20:09 -04:00
set_id_regs.c KVM: arm64: selftests: Test for setting ID register from usersapce 2023-10-18 23:37:33 +00:00
smccc_filter.c KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC" 2023-04-08 15:38:36 +01:00
vcpu_width_config.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vgic_init.c KVM: selftests: Automatically do init_ucall() for non-barebones VMs 2022-11-16 16:58:51 -08:00
vgic_irq.c KVM: selftests: Rip out old, param-based guest assert macros 2023-08-02 14:43:16 -07:00
vpmu_counter_access.c KVM: selftests: aarch64: vPMU test for validating user accesses 2023-10-24 22:59:31 +00:00