public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Jiewen Yao <jiewen.yao@intel.com>
To: edk2-devel@lists.01.org
Subject: [PATCH 0/4] Improve IntelVTd performance.
Date: Fri, 11 Aug 2017 22:09:47 +0800	[thread overview]
Message-ID: <1502460591-14428-1-git-send-email-jiewen.yao@intel.com> (raw)

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



             reply	other threads:[~2017-08-11 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11 14:09 Jiewen Yao [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502460591-14428-1-git-send-email-jiewen.yao@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox