audk/OvmfPkg/Library/QemuFwCfgLib
Min Xu 6b27c11690 OvmfPkg: Check Tdx in QemuFwCfgPei to avoid DMA operation
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429

If TDX is enabled then we do not support DMA operation in PEI phase.
This is mainly because DMA in TDX guest requires using bounce buffer
(which need to allocate dynamic memory and allocating a PAGE size'd
buffer can be challenge in PEI phase).

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
2022-04-02 08:15:12 +00:00
..
QemuFwCfgDxe.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgDxeLib.inf OvmfPkg/QemuFwCfgDxeLib: allow UEFI_DRIVER modules 2020-04-28 22:37:35 +00:00
QemuFwCfgLib.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgLibInternal.h OvmfPkg: Check Tdx in QemuFwCfgPei to avoid DMA operation 2022-04-02 08:15:12 +00:00
QemuFwCfgLibMmio.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgLibMmio.inf OvmfPkg/QemuFwCfgLibMmio: Add RISC-V arch support 2021-10-14 06:25:52 +00:00
QemuFwCfgLibNull.inf OvmfPkg: Add QemuFwCfgLibNull 2020-05-05 16:57:57 +00:00
QemuFwCfgNull.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgPei.c OvmfPkg: Check Tdx in QemuFwCfgPei to avoid DMA operation 2022-04-02 08:15:12 +00:00
QemuFwCfgPeiLib.inf OvmfPkg: Check Tdx in QemuFwCfgPei to avoid DMA operation 2022-04-02 08:15:12 +00:00
QemuFwCfgSec.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgSecLib.inf OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00