From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 7AD0E21E14547 for ; Fri, 25 Aug 2017 00:38:29 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP; 25 Aug 2017 00:41:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,424,1498546800"; d="scan'208";a="304276342" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.196.35]) by fmsmga004.fm.intel.com with ESMTP; 25 Aug 2017 00:41:03 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Date: Fri, 25 Aug 2017 15:40:43 +0800 Message-Id: <1503646846-1036-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH 0/3] Add flexible exception device reporting 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, 25 Aug 2017 07:38:29 -0000 During VTd enabling, we notice a platform may want to add exception device based upon VendorId/DeviceId. We update GetExceptionDeviceList() function to support both style. 1) Support Device scope based reporting: Such as, Seg:0/StartBus:0/(Dev:1C|Func:0)/(Dev:0|Func:0) 2) Support PCI VendorId/DeviceId based reporting Such as, VID:8086|DID:9D2F|Rev:21|SVID:8086|SDID:7270 Jiewen Yao (3): IntelSiliconPkg/header: update PlatformVtdPolicy IntelSiliconPkg/IntelVTd: update PlatformVtdPolicy IntelSiliconPkg/PlatformVTdSample: update ExceptionDevice IntelSiliconPkg/Include/Protocol/PlatformVtdPolicy.h | 51 ++++- IntelSiliconPkg/IntelVTdDxe/DmaProtection.c | 143 ++++++++++++- IntelSiliconPkg/IntelVTdDxe/DmaProtection.h | 119 ++++++++--- IntelSiliconPkg/IntelVTdDxe/DmarAcpiTable.c | 48 +++-- IntelSiliconPkg/IntelVTdDxe/PciInfo.c | 212 ++++++++++++-------- IntelSiliconPkg/IntelVTdDxe/TranslationTable.c | 28 +-- IntelSiliconPkg/IntelVTdDxe/TranslationTableEx.c | 20 +- IntelSiliconPkg/IntelVTdDxe/VtdReg.c | 14 +- IntelSiliconPkg/PlatformVTdSampleDxe/PlatformVTdSampleDxe.c | 80 +++++++- 9 files changed, 543 insertions(+), 172 deletions(-) -- 2.7.4.windows.1