linux-stable/tools/testing/selftests/kvm
Paolo Bonzini e9a2bba476 KVM Xen and pfncache changes for 6.9:
- Rip out the half-baked support for using gfn_to_pfn caches to manage pages
    that are "mapped" into guests via physical addresses.
 
  - Add support for using gfn_to_pfn caches with only a host virtual address,
    i.e. to bypass the "gfn" stage of the cache.  The primary use case is
    overlay pages, where the guest may change the gfn used to reference the
    overlay page, but the backing hva+pfn remains the same.
 
  - Add an ioctl() to allow mapping Xen's shared_info page using an hva instead
    of a gpa, so that userspace doesn't need to reconfigure and invalidate the
    cache/mapping if the guest changes the gpa (but userspace keeps the resolved
    hva the same).
 
  - When possible, use a single host TSC value when computing the deadline for
    Xen timers in order to improve the accuracy of the timer emulation.
 
  - Inject pending upcall events when the vCPU software-enables its APIC to fix
    a bug where an upcall can be lost (and to follow Xen's behavior).
 
  - Fall back to the slow path instead of warning if "fast" IRQ delivery of Xen
    events fails, e.g. if the guest has aliased xAPIC IDs.
 
  - Extend gfn_to_pfn_cache's mutex to cover (de)activation (in addition to
    refresh), and drop a now-redundant acquisition of xen_lock (that was
    protecting the shared_info cache) to fix a deadlock due to recursively
    acquiring xen_lock.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKTobbabEP7vbhhN9OlYIJqCjN/0FAmXrblYACgkQOlYIJqCj
 N/3K4Q/+KZ8lrnNXvdHNCQdosA5DDXpqUcRzhlTUp82fncpdJ0LqrSMzMots2Eh9
 KC0jSPo8EkivF+Epug0+bpQBEaLXzTWhRcS1grePCDz2lBnxoHFSWjvaK2p14KlC
 LvxCJZjxyfLKHwKHpSndvO9hVFElCY3mvvE9KRcKeQAmrz1cz+DDMKelo1MuV8D+
 GfymhYc+UXpY41+6hQdznx+WoGoXKRameo3iGYuBoJjvKOyl4Wxkx9WSXIxxxuqG
 kHxjiWTR/jF1ITJl6PeMrFcGl3cuGKM/UfTOM6W2h6Wi3mhLpXveoVLnqR1kipIj
 btSzSVHL7C4WTPwOcyhwPzap+dJmm31c6N0uPScT7r9yhs+q5BDj26vcVcyPZUHo
 efIwmsnO2eQvuw+f8C6QqWCPaxvw46N0zxzwgc5uA3jvAC93y0l4v+xlAQsC0wzV
 0+BwU00cutH/3t3c/WPD5QcmRLH726VoFuTlaDufpoMU7gBVJ8rzjcusxR+5BKT+
 GJcAgZxZhEgvnzmTKd4Ec/mt+xZ2Erd+kV3MKCHvDPyj8jqy8FQ4DAWKGBR+h3WR
 rqAs2k8NPHyh3i1a3FL1opmxEGsRS+Cnc6Bi77cj9DxTr22JkgDJEuFR+Ues1z6/
 SpE889kt3w5zTo34+lNxNPlIKmO0ICwwhDL6pxJTWU7iWQnKypU=
 =GliW
 -----END PGP SIGNATURE-----

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

KVM Xen and pfncache changes for 6.9:

 - Rip out the half-baked support for using gfn_to_pfn caches to manage pages
   that are "mapped" into guests via physical addresses.

 - Add support for using gfn_to_pfn caches with only a host virtual address,
   i.e. to bypass the "gfn" stage of the cache.  The primary use case is
   overlay pages, where the guest may change the gfn used to reference the
   overlay page, but the backing hva+pfn remains the same.

 - Add an ioctl() to allow mapping Xen's shared_info page using an hva instead
   of a gpa, so that userspace doesn't need to reconfigure and invalidate the
   cache/mapping if the guest changes the gpa (but userspace keeps the resolved
   hva the same).

 - When possible, use a single host TSC value when computing the deadline for
   Xen timers in order to improve the accuracy of the timer emulation.

 - Inject pending upcall events when the vCPU software-enables its APIC to fix
   a bug where an upcall can be lost (and to follow Xen's behavior).

 - Fall back to the slow path instead of warning if "fast" IRQ delivery of Xen
   events fails, e.g. if the guest has aliased xAPIC IDs.

 - Extend gfn_to_pfn_cache's mutex to cover (de)activation (in addition to
   refresh), and drop a now-redundant acquisition of xen_lock (that was
   protecting the shared_info cache) to fix a deadlock due to recursively
   acquiring xen_lock.
2024-03-11 10:42:55 -04:00
..
aarch64 KVM/riscv changes for 6.9 2024-03-11 10:10:48 -04:00
include KVM x86 PMU changes for 6.9: 2024-03-11 10:41:09 -04:00
lib KVM x86 PMU changes for 6.9: 2024-03-11 10:41:09 -04:00
riscv KVM: riscv: selftests: Add Zacas extension to get-reg-list test 2024-03-06 20:53:44 +05:30
s390x KVM: selftests: s390x: Remove redundant newlines 2024-01-29 08:39:16 -08:00
x86_64 KVM Xen and pfncache changes for 6.9: 2024-03-11 10:42:55 -04:00
.gitignore KVM: selftests: Use pattern matching in .gitignore 2022-12-27 06:00:46 -05:00
access_tracking_perf_test.c Merge remote-tracking branch 'kvm/queue' into HEAD 2022-12-12 15:54:07 -05:00
arch_timer.c KVM: riscv: selftests: Add sstc timer test 2024-03-06 20:53:29 +05:30
config KVM: selftests: Fixup config fragment for access_tracking_perf_test 2023-03-30 19:27:56 +01:00
demand_paging_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
dirty_log_perf_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
dirty_log_test.c KVM: selftests: Fix a semaphore imbalance in the dirty ring logging test 2024-02-06 10:53:30 -08:00
get-reg-list.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
guest_memfd_test.c KVM: selftests: Explicitly close guest_memfd files in some gmem tests 2024-03-05 13:31:20 -08:00
guest_print_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
hardware_disable_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
kvm_binary_stats_test.c KVM: selftests: Verify stats fd is usable after VM fd has been closed 2023-07-29 11:05:30 -04:00
kvm_create_max_vcpus.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
kvm_page_table_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
Makefile KVM x86 PMU changes for 6.9: 2024-03-11 10:41:09 -04:00
max_guest_memory_test.c KVM: selftests: Rename the ASSERT_EQ macro 2023-08-02 14:34:01 -07:00
memslot_modification_stress_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
memslot_perf_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
rseq_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
set_memory_region_test.c KVM: selftests: Add a testcase to verify GUEST_MEMFD and READONLY are exclusive 2024-02-22 17:07:06 -08:00
settings
steal_time.c RISC-V: KVM: selftests: Add steal_time test support 2023-12-30 11:26:45 +05:30
system_counter_offset_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00