[edk2-devel] [PATCH v3 0/3] VTd Pei : Fix PMR enabling setting confilct

Sheng Wei posted 3 patches 2 weeks ago
Failed in applying to current master (apply log)
.../Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.c    | 14 +++++++
.../Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.h    | 15 +++++++
.../Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf  |  1 +
.../Feature/VTd/IntelVTdPmrPei/VtdReg.c            | 47 ++++++++++++++++++++++
.../PlatformVTdInfoSamplePei.c                     | 16 ++++++++
.../PlatformVTdInfoSamplePei.inf                   |  3 +-
.../Include/Ppi/VtdNullRootEntryTable.h            | 28 +++++++++++++
Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec  |  1 +
8 files changed, 124 insertions(+), 1 deletion(-)
create mode 100644 Silicon/Intel/IntelSiliconPkg/Include/Ppi/VtdNullRootEntryTable.h

[edk2-devel] [PATCH v3 0/3] VTd Pei : Fix PMR enabling setting confilct

Posted by Sheng Wei 2 weeks ago
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.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@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            | 47 ++++++++++++++++++++++
 .../PlatformVTdInfoSamplePei.c                     | 16 ++++++++
 .../PlatformVTdInfoSamplePei.inf                   |  3 +-
 .../Include/Ppi/VtdNullRootEntryTable.h            | 28 +++++++++++++
 Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec  |  1 +
 8 files changed, 124 insertions(+), 1 deletion(-)
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Include/Ppi/VtdNullRootEntryTable.h

-- 
2.16.2.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#64815): https://edk2.groups.io/g/devel/message/64815
Mute This Topic: https://groups.io/mt/76529332/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-