linux/tools/testing/selftests/kvm/include
Paolo Bonzini 9352e7470a Merge remote-tracking branch 'kvm/queue' into HEAD
x86 Xen-for-KVM:

* Allow the Xen runstate information to cross a page boundary

* Allow XEN_RUNSTATE_UPDATE flag behaviour to be configured

* add support for 32-bit guests in SCHEDOP_poll

x86 fixes:

* One-off fixes for various emulation flows (SGX, VMXON, NRIPS=0).

* Reinstate IBPB on emulated VM-Exit that was incorrectly dropped a few
   years back when eliminating unnecessary barriers when switching between
   vmcs01 and vmcs02.

* Clean up the MSR filter docs.

* Clean up vmread_error_trampoline() to make it more obvious that params
  must be passed on the stack, even for x86-64.

* Let userspace set all supported bits in MSR_IA32_FEAT_CTL irrespective
  of the current guest CPUID.

* Fudge around a race with TSC refinement that results in KVM incorrectly
  thinking a guest needs TSC scaling when running on a CPU with a
  constant TSC, but no hardware-enumerated TSC frequency.

* Advertise (on AMD) that the SMM_CTL MSR is not supported

* Remove unnecessary exports

Selftests:

* Fix an inverted check in the access tracking perf test, and restore
  support for asserting that there aren't too many idle pages when
  running on bare metal.

* Fix an ordering issue in the AMX test introduced by recent conversions
  to use kvm_cpu_has(), and harden the code to guard against similar bugs
  in the future.  Anything that tiggers caching of KVM's supported CPUID,
  kvm_cpu_has() in this case, effectively hides opt-in XSAVE features if
  the caching occurs before the test opts in via prctl().

* Fix build errors that occur in certain setups (unsure exactly what is
  unique about the problematic setup) due to glibc overriding
  static_assert() to a variant that requires a custom message.

* Introduce actual atomics for clear/set_bit() in selftests

Documentation:

* Remove deleted ioctls from documentation

* Various fixes
2022-12-12 15:54:07 -05:00
..
aarch64 KVM: selftests: aarch64: Add aarch64/page_fault_test 2022-11-10 19:10:27 +00:00
riscv KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpers 2022-06-11 11:47:10 -04:00
s390x KVM: selftests: Define cpu_relax() helpers for s390 and x86 2022-03-08 10:59:11 -05:00
x86_64 Misc KVM x86 fixes and cleanups for 6.2: 2022-12-02 12:56:25 -05:00
guest_modes.h KVM: selftests: Factor out guest mode code 2021-01-07 18:07:29 -05:00
kvm_util_base.h Merge remote-tracking branch 'kvm/queue' into HEAD 2022-12-12 15:54:07 -05:00
kvm_util.h kvm: selftests: move ucall declarations into ucall_common.h 2022-01-07 13:25:33 -05:00
memstress.h KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00
numaif.h KVM: selftests: Add missing header file needed by xAPIC IPI tests 2021-02-11 08:02:08 -05:00
sparsebit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.h KVM: selftests: implement random number generator for guest code 2022-11-16 10:09:19 -08:00
ucall_common.h KVM: arm64: selftests: Enable single-step without a "full" ucall() 2022-12-02 13:22:31 -05:00
userfaultfd_util.h KVM: selftests: Add a userfaultfd library 2022-11-10 19:10:27 +00:00