diff options
author | Min Xu <min.m.xu@intel.com> | 2021-07-19 09:08:59 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-04-02 08:15:12 +0000 |
commit | 6b27c11690e7c093fa5670e854d10308c847a75d (patch) | |
tree | 805f81dd4257d0c0d13dda1063c70cfd20be30a3 /OvmfPkg/CloudHv | |
parent | 2b80269d98626271d52445641f936e4543b333a9 (diff) | |
download | edk2-6b27c11690e7c093fa5670e854d10308c847a75d.tar.gz edk2-6b27c11690e7c093fa5670e854d10308c847a75d.tar.bz2 edk2-6b27c11690e7c093fa5670e854d10308c847a75d.zip |
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>
Diffstat (limited to 'OvmfPkg/CloudHv')
0 files changed, 0 insertions, 0 deletions