public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v6 0/2] Add IntelVTdDmarPei Driver
@ 2021-01-08  1:26 Sheng Wei
  2021-01-08  1:26 ` [PATCH v6 1/2] IntelSiliconPkg/VTd: " Sheng Wei
  2021-01-08  1:26 ` [PATCH v6 2/2] IntelSiliconPkg/VTd: Add IntelVTdDmarPei to IntelSiliconPkg Sheng Wei
  0 siblings, 2 replies; 3+ messages in thread
From: Sheng Wei @ 2021-01-08  1:26 UTC (permalink / raw)
  To: devel; +Cc: Ray Ni, Rangasai V Chaganty, Jiewen Yao, Jenny Huang, Feng Roger

IntelVTdDmarPei Driver is used for DMA protection in PEI phase.
In pre-memory phase, All the DMA access is blocked.
In post memory phase, it will set some memory in iommu DMA remapping
 tranlation table for DMA access, and only the memory allocated by
 EdkiiIoMmuPpi has the DMA access. For rest of the memory, DMA access
 will be blocked.
Add IntelVTdDmarPei to IntelSiliconPkg.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3095

Signed-off-by: Sheng Wei <w.sheng@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jenny Huang <jenny.huang@intel.com>
Cc: Feng Roger <roger.feng@intel.com>
Reviewed-by: Jenny Huang <jenny.huang@intel.com>

Sheng Wei (2):
  IntelSiliconPkg/VTd: Add IntelVTdDmarPei Driver
  IntelSiliconPkg/VTd: Add IntelVTdDmarPei to IntelSiliconPkg

 .../Feature/VTd/IntelVTdDmarPei/DmarTable.c        |  818 +++++++++++++++
 .../Feature/VTd/IntelVTdDmarPei/IntelVTdDmar.c     |  466 +++++++++
 .../Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.c  |  814 +++++++++++++++
 .../Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.h  |  224 +++++
 .../VTd/IntelVTdDmarPei/IntelVTdDmarPei.inf        |   65 ++
 .../VTd/IntelVTdDmarPei/IntelVTdDmarPei.uni        |   14 +
 .../VTd/IntelVTdDmarPei/IntelVTdDmarPeiExtra.uni   |   14 +
 .../Feature/VTd/IntelVTdDmarPei/TranslationTable.c | 1045 ++++++++++++++++++++
 Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc  |    1 +
 9 files changed, 3461 insertions(+)
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/DmarTable.c
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar.c
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.c
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.h
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.inf
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.uni
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPeiExtra.uni
 create mode 100644 Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/TranslationTable.c

-- 
2.16.2.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-08  1:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08  1:26 [PATCH v6 0/2] Add IntelVTdDmarPei Driver Sheng Wei
2021-01-08  1:26 ` [PATCH v6 1/2] IntelSiliconPkg/VTd: " Sheng Wei
2021-01-08  1:26 ` [PATCH v6 2/2] IntelSiliconPkg/VTd: Add IntelVTdDmarPei to IntelSiliconPkg Sheng Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox