[GIT PULL] x86/kvm: Guest side changes for 6.18

Sean Christopherson
2025-09-27T06:09:13Z

A few smallish guest-side changes.

The following changes since commit a6ad54137af92535cfe32e19e5f3bc1bb7dbd383:

Merge branch 'guest-memfd-mmap' into HEAD (2025-08-27 04:41:35 -0400)

are available in the Git repository at:

https://github.com/kvm-x86/linux.git tags/kvm-x86-guest-6.18

for you to fetch changes up to 960550503965094b0babd7e8c83ec66c8a763b0b:

x86/kvm: Prefer native qspinlock for dedicated vCPUs irrespective of PV_UNHALT (2025-09-11 08:58:37 -0700)

----------------------------------------------------------------
x86/kvm guest side changes for 6.18

- For the legacy PCI hole (memory between TOLUD and 4GiB) to UC when
overriding guest MTRR for TDX/SNP to fix an issue where ACPI auto-mapping
could map devices as WB and prevent the device drivers from mapping their
devices with UC/UC-.

- Make kvm_async_pf_task_wake() a local static helper and remove its
export.

- Use native qspinlocks when running in a VM with dedicated vCPU=>pCPU
bindings even when PV_UNHALT is unsupported.

----------------------------------------------------------------
Li RongQing (1):
x86/kvm: Prefer native qspinlock for dedicated vCPUs irrespective of PV_UNHALT

Sean Christopherson (2):
x86/kvm: Force legacy PCI hole to UC when overriding MTRRs for TDX/SNP
x86/kvm: Make kvm_async_pf_task_wake() a local static helper

arch/x86/include/asm/kvm_para.h | 2 --
arch/x86/kernel/kvm.c | 44 ++++++++++++++++++++++++++++-------------
2 files changed, 30 insertions(+), 16 deletions(-)