From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 6C26921E1B757 for ; Thu, 21 Sep 2017 20:41:44 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 20:44:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,426,1500966000"; d="scan'208";a="1017219541" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.196.163]) by orsmga003.jf.intel.com with ESMTP; 21 Sep 2017 20:44:50 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Cc: Star Zeng Date: Fri, 22 Sep 2017 11:44:42 +0800 Message-Id: <1506051885-21008-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH 0/3] IntelVTd fix 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, 22 Sep 2017 03:41:44 -0000 1) Make sure context cache in VTdDxe is flushed in every path. 2) Clarify VTdPolicy PCD usage for PEI and DXE. 3) Add EndOfPei callback in VTdPrmPei for S3 resume. The patch is tested in Intel Kabylake platform. Windows 10 boot and S3 resume success with VTd enabled. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao Jiewen Yao (3): IntelSiliconPkg/VTdDxe: Clean up DXE flush memory. IntelSiliconPkg/dec: Clarify VTdPolicy. IntelSiliconPkg/VTdPmrPei: Add EndOfPei callback for S3 IntelSiliconPkg/Feature/VTd/IntelVTdDxe/TranslationTable.c | 9 ++- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/TranslationTableEx.c | 4 +- IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.c | 59 +++++++++++++++++++- IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf | 1 + IntelSiliconPkg/IntelSiliconPkg.dec | 4 +- 5 files changed, 69 insertions(+), 8 deletions(-) -- 2.7.4.windows.1