public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/4] Improve IntelVTd performance.
@ 2017-08-11 14:09 Jiewen Yao
  2017-08-11 14:09 ` [PATCH 1/4] MdePkg/CpuLib.h: Add CacheLineFlush function Jiewen Yao
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jiewen Yao @ 2017-08-11 14:09 UTC (permalink / raw)
  To: edk2-devel

This series patch replace WBINVD with CLFlush
in IntelVTdDxe driver, which improves boot performance.

This patch is validated on Intel Kabylake generation.

Jiewen Yao (4):
  MdePkg/CpuLib.h: Add CacheLineFlush function.
  MdePkg/BaseCpuLib: Add CacheLineFlush function.
  IntelSiliconPkg/dsc: Add CpuLib.
  IntelSiliconPkg/IntelVTdDxe: Improve performance.

 IntelSiliconPkg/IntelSiliconPkg.dsc                |   1 +
 IntelSiliconPkg/IntelVTdDxe/DmaProtection.c        |   6 +
 IntelSiliconPkg/IntelVTdDxe/DmaProtection.h        |  61 ++---
 IntelSiliconPkg/IntelVTdDxe/IntelVTdDxe.c          |  10 +
 IntelSiliconPkg/IntelVTdDxe/IntelVTdDxe.inf        |   4 +
 IntelSiliconPkg/IntelVTdDxe/PciInfo.c              |  12 +
 IntelSiliconPkg/IntelVTdDxe/TranslationTable.c     |  58 +++-
 IntelSiliconPkg/IntelVTdDxe/TranslationTableEx.c   |   2 +
 IntelSiliconPkg/IntelVTdDxe/VtdReg.c               | 283 +++++++-------------
 MdePkg/Include/Library/CpuLib.h                    |  12 +-
 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf           |   5 +-
 MdePkg/Library/BaseCpuLib/Ebc/CpuSleepFlushTlb.c   |  16 +-
 MdePkg/Library/BaseCpuLib/Ia32/CacheLineFlush.nasm |  37 +++
 MdePkg/Library/BaseCpuLib/X64/CacheLineFlush.nasm  |  37 +++
 14 files changed, 318 insertions(+), 226 deletions(-)
 create mode 100644 MdePkg/Library/BaseCpuLib/Ia32/CacheLineFlush.nasm
 create mode 100644 MdePkg/Library/BaseCpuLib/X64/CacheLineFlush.nasm

-- 
2.7.4.windows.1



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

end of thread, other threads:[~2017-08-11 14:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 14:09 [PATCH 0/4] Improve IntelVTd performance Jiewen Yao
2017-08-11 14:09 ` [PATCH 1/4] MdePkg/CpuLib.h: Add CacheLineFlush function Jiewen Yao
2017-08-11 14:09 ` [PATCH 2/4] MdePkg/BaseCpuLib: " Jiewen Yao
2017-08-11 14:09 ` [PATCH 3/4] IntelSiliconPkg/dsc: Add CpuLib Jiewen Yao
2017-08-11 14:09 ` [PATCH 4/4] IntelSiliconPkg/IntelVTdDxe: Improve performance Jiewen Yao
2017-08-11 14:56 ` [PATCH 0/4] Improve IntelVTd performance Yao, Jiewen

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