]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/hyperv/vtl: Mark the wakeup mailbox page as private
authorYunhong Jiang <yunhong.jiang@linux.intel.com>
Wed, 4 Mar 2026 23:41:20 +0000 (15:41 -0800)
committerDexuan Cui <decui@microsoft.com>
Thu, 28 May 2026 20:01:26 +0000 (20:01 +0000)
commit80200341197a799fe39da4e9da61bde4d23ec7ec
tree690505c717da87a7d3c87e1691e37b7cf6c3be93
parent12584a89c9172ed5c2718612314a2d6f87260896
x86/hyperv/vtl: Mark the wakeup mailbox page as private

The current code maps MMIO devices as shared (decrypted) by default in a
confidential computing VM.

In a TDX environment, secondary CPUs are booted using the Multiprocessor
Wakeup Structure defined in the ACPI specification. The virtual firmware
and the operating system function in the guest context, without
intervention from the VMM. Map the physical memory of the mailbox as
private. Use the is_private_mmio() callback.

Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Dexuan Cui <dexuan@kernel.org>
arch/x86/hyperv/hv_vtl.c