PMR enabling set by pre-boot DMA protection is cleared by RC when boot guard is enabled. Pre-boot DMA protection should only reset VT-d BAR when it is 0 and reset PMR region when it is not programmed to protect all memory address. PlatformVTdInfoSamplePei driver installs the null root entry table ppi. BIOS uses TE with a null root entry table to block VT-d engine access to block any DMA traffic in pre-memory phase.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2867 Cc: Ray Ni <ray...@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaga...@intel.com> Sheng Wei (3): IntelSiliconPkg/VtdInfo: Add Null Root Entry Table PPI IntelSiliconPkg/IntelVTdPmrPei: Fix PMR enabling setting confilct IntelSiliconPkg/PlatformVTdInfoSamplePei: Install Null Root Entry Table .../Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.c | 14 +++++++ .../Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.h | 15 +++++++ .../Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf | 1 + .../Feature/VTd/IntelVTdPmrPei/VtdReg.c | 46 ++++++++++++++++++++++ .../PlatformVTdInfoSamplePei.c | 15 +++++++ .../PlatformVTdInfoSamplePei.inf | 3 +- .../Intel/IntelSiliconPkg/Include/Ppi/VtdInfo.h | 13 ++++++ Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec | 1 + 8 files changed, 107 insertions(+), 1 deletion(-) -- 2.16.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#64603): https://edk2.groups.io/g/devel/message/64603 Mute This Topic: https://groups.io/mt/76402530/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-