From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7021B21D490EF for ; Fri, 11 Aug 2017 07:07:35 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Aug 2017 07:09:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,358,1498546800"; d="scan'208";a="136371810" Received: from jyao1-mobl.ccr.corp.intel.com ([10.254.211.254]) by orsmga005.jf.intel.com with ESMTP; 11 Aug 2017 07:09:54 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Date: Fri, 11 Aug 2017 22:09:47 +0800 Message-Id: <1502460591-14428-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH 0/4] Improve IntelVTd performance. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 14:07:35 -0000 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