]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/IoMmuDxe: Add SEV support for reserved shared memory
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 15 Dec 2022 05:18:09 +0000 (13:18 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 18 Dec 2022 02:14:31 +0000 (02:14 +0000)
commit47b9521513fd56a9aa0b56dbe15c349325f56bfa
tree39ce501225bb7554a99593bf96b7a41afd5c4d24
parent09f01d4efb50de51c720723748c6be4f7d308a56
OvmfPkg/IoMmuDxe: Add SEV support for reserved shared memory

Add support to use the reserved shared memory within the IoMmu library.
This improves boot times for all SEV guests, with SEV-SNP benefiting the
most as it avoids the page state change call to the hypervisor.

Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
OvmfPkg/IoMmuDxe/CcIoMmu.c
OvmfPkg/IoMmuDxe/IoMmuBuffer.c