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 07FFC2095DFEA for ; Fri, 11 Aug 2017 07:52:10 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Aug 2017 07:54:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,358,1498546800"; d="scan'208";a="139184521" Received: from jyao1-mobl.ccr.corp.intel.com ([10.254.211.254]) by fmsmga006.fm.intel.com with ESMTP; 11 Aug 2017 07:54:29 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Date: Fri, 11 Aug 2017 22:54:25 +0800 Message-Id: <1502463267-5056-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH V2 0/2] 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:52:10 -0000 =========== V2 ============= I found CacheLineFlush() is already defined in CacheMaintenanceLib. Drop the CpuLib update, but use in CacheMaintenanceLib directly. =========== V1 ============= This series patch replace WBINVD with CLFlush in IntelVTdDxe driver, which improves boot performance. This patch is validated on Intel Kabylake generation. Jiewen Yao (2): IntelSiliconPkg/dsc: Add CacheMaintenanceLib. IntelSiliconPkg/IntelVTdDxe: Improve performance. IntelSiliconPkg/IntelSiliconPkg.dsc | 1 + IntelSiliconPkg/IntelVTdDxe/DmaProtection.h | 57 ++--- IntelSiliconPkg/IntelVTdDxe/IntelVTdDxe.c | 10 + IntelSiliconPkg/IntelVTdDxe/IntelVTdDxe.inf | 3 + IntelSiliconPkg/IntelVTdDxe/PciInfo.c | 12 + IntelSiliconPkg/IntelVTdDxe/TranslationTable.c | 58 ++++- IntelSiliconPkg/IntelVTdDxe/TranslationTableEx.c | 2 + IntelSiliconPkg/IntelVTdDxe/VtdReg.c | 260 +++++++------------- 8 files changed, 187 insertions(+), 216 deletions(-) -- 2.7.4.windows.1