[edk2] [PATCH 0/4] Improve IntelVTd performance.

Jiewen Yao posted 4 patches 6 years, 7 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
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
[edk2] [PATCH 0/4] Improve IntelVTd performance.
Posted by Jiewen Yao 6 years, 7 months ago
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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 0/4] Improve IntelVTd performance.
Posted by Yao, Jiewen 6 years, 7 months ago
Sorry for the confusing.

I just sent V2 patch series. Please ignore this one.

Thank you
Yao Jiewen

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jiewen
> Yao
> Sent: Friday, August 11, 2017 10:10 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] [PATCH 0/4] Improve IntelVTd performance.
> 
> 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
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel