From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web12.14547.1598970716333482543 for ; Tue, 01 Sep 2020 07:31:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=phtapB2Y; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: ray.ni@intel.com) IronPort-SDR: 9Q6eFLSoGF1YsviIYWNdkjvRead4k2HvtLic7CfuwkAwQJeon+gQn1kn/jGLMfb/Vza/cG/39M GGzy/aWAK1iw== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="158176496" X-IronPort-AV: E=Sophos;i="5.76,379,1592895600"; d="scan'208";a="158176496" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 07:31:51 -0700 IronPort-SDR: X57YpAJe2Yn/iAYZhpDcvmO+ppdUzHq+ejvGEDCrBPJQjBXxbhy8lsyvxcEcNCcPOmUXfg1UC/ aL9OeaMhyxhg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,379,1592895600"; d="scan'208";a="297326815" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga003.jf.intel.com with ESMTP; 01 Sep 2020 07:31:51 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 1 Sep 2020 07:30:44 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 1 Sep 2020 07:30:44 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 1 Sep 2020 07:30:44 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 1 Sep 2020 07:30:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lvTXeHF4Esr6eklHD0Xkd/lNZ9zB275VhM2VpWSu/Yu3WRVr7DxGzreiRY4zgf5jZBtzRwpSUWMscUNBVMxyTaZRu+WkC6V7MWhb8xnUDF4MDJlojjTXh6Qo50kgOkIeh1EcY+2evQp8RPIIaoOLIoFfiYtUPjjksozkIdPIlL1f75g38dQagHjvuiFHV2KjO+u+ahsWOSEioUZEwUx0fyoL1PWWRKqAYnJv5lk27cK0lJIrOUa/QnMZNbNY8xw3zXZ1Dz1bgNEzRv/Oh6X+WCvQjMf/JO2kXxBVJq7hL3ILkgD+qVwyLwq5l/hPV3Fr0Hx8xh1rmDj2nSGzPciTmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1gvPBu4kS+R7/dnMgVsWkVx9acTiU2gF1gkvoEwFpg8=; b=AwsjPId75BywhMa762b/yUQF3pdmYVvB+py88TUIfRvW4ptUml5GknLJC2uEJm7TMcbZDq+guLlJ6/XtZ2t5QJz9/B7/9BcFDaENj+yXt6uqR7PA7OeLQK60ABlcpEC5/tv9j6Mp28vv9AHrlDGFfHJeKRQ89uSgQ03vPzj1Xso/8UUe21a7Z2x+hyxEgZnOH0VgABEO05Xr9pWW6/gQrNh8aS4qmiWP4JSAQr3JlkPeu0Bew0qikgwtnoNLtuY9F4uYQ/Qd8gv/+WhQhiJfrwow+cv208w6ZH4MqXFIwBzmlrZMX6kmHOXxUd7SioPP3iigDsfvUoN6il1X3y/AVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1gvPBu4kS+R7/dnMgVsWkVx9acTiU2gF1gkvoEwFpg8=; b=phtapB2Y2kbDC0oehRsQDgRCzH70hGbPuyKwyHPKmbbZuT5fggqiPvgZEniiwYbkBS8hwFr/azvT//LNhaDnFY7WrUpsX1nIuDsCsZtsiR8i50fcG4IJ36l4Xd/rqCX9KTCQxMaFAmTkDQ/Lvlw9KemkbhvwqaWRJkioy3ezU3s= Received: from BY5PR11MB4007.namprd11.prod.outlook.com (2603:10b6:a03:189::28) by BY5PR11MB4323.namprd11.prod.outlook.com (2603:10b6:a03:1c2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Tue, 1 Sep 2020 14:30:41 +0000 Received: from BY5PR11MB4007.namprd11.prod.outlook.com ([fe80::889e:ec52:bb02:db78]) by BY5PR11MB4007.namprd11.prod.outlook.com ([fe80::889e:ec52:bb02:db78%3]) with mapi id 15.20.3326.025; Tue, 1 Sep 2020 14:30:41 +0000 From: "Ni, Ray" To: "Sheng, W" , "devel@edk2.groups.io" CC: "Chaganty, Rangasai V" Subject: Re: [PATCH v3 1/3] IntelSiliconPkg/VtdInfo: Add Null Root Entry Table PPI Thread-Topic: [PATCH v3 1/3] IntelSiliconPkg/VtdInfo: Add Null Root Entry Table PPI Thread-Index: AQHWf2F63UJ0INVqlUerhGzBnf9s66lT2fWw Date: Tue, 1 Sep 2020 14:30:33 +0000 Deferred-Delivery: Tue, 1 Sep 2020 14:30:00 +0000 Message-ID: References: <20200831063804.8208-1-w.sheng@intel.com> <20200831063804.8208-2-w.sheng@intel.com> In-Reply-To: <20200831063804.8208-2-w.sheng@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [180.171.153.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9fe78594-dec0-45c9-c14d-08d84e839a8c x-ms-traffictypediagnostic: BY5PR11MB4323: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vSLKvtaGV2KrBPAA6yHJZ1DaL2r7mUe1G7xdQOmRq0eQVS51uVfZM9uBZGKVF/qPUqreZvsZVopBDC1lYOg2c1eVkswtE4slQmzBlPkq+D8qhi9m7/sCuR6vaAybAJdVNCKnMNzp9bua5o1HsnuDTWX4IQKfWzPP0WH1rg+Y7flOEZi2T6bfXbaIbOycTpTW1Cnx3Z1k7tUNPnp5kx48kawM2bkKdE5Zs7QklXRgNOXcpxwTPA96EmJxyDPOVvCaPQFf+T6BXnH+Im3mh6OI/YIgFl78X56VXHVYf0w5ozUv+nSkY/1IK67kT9h0vRHCA34Zkb+rGdgbTgvQD73xlYXvKLePzkprmgiRkElfsO1+Jo+HsIJkrhynCLAkSfbSwDZnm2l+hoM21oCEQ0woCg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4007.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(346002)(376002)(136003)(366004)(396003)(9686003)(7696005)(53546011)(966005)(6506007)(8936002)(33656002)(55016002)(316002)(110136005)(478600001)(86362001)(2906002)(5660300002)(8676002)(52536014)(66556008)(66946007)(64756008)(107886003)(66446008)(6666004)(66476007)(83380400001)(76116006)(26005)(4326008)(186003)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: nY5DVGJLsBLpRtY+3jIxI+ddhpM8zBcqGtxcpA5b0VGH66Ez+u0LppwKQ05q/YFlbMKoZGcHjTHkK0yQUx6o6ydeIJtK6yWjNX0qONrPvsU7uBYwlVPA9BQqjAqE38b2p+MZU26BpcKVTAJB89r2ltoZ7zsY9kwPQNDBXt5kqPPYmYEVjHBLGY9NP2sRLKM7n94fS6uqIx6V+pVXaesDaFpmTpLO+OK+pwVHfotN+dleSsta2QQoneWHMm7HbFVHr4rjK1mjDJbBibG56F+Agj8Hiv/H+jgq5dbYNAS+uP3jOO+ONmbHDRtT7bepltR07pB8GTUab+BGLAvWJbKgvpEVRJ6rJwW7Qwjm9Gav/+rlbj57E/nsiWGBWm0N3jg5TCG+oFvN+btlVD1Mgitfx3qOQKfPMUpwl5noXXGCIkM47k20eBCzypBc5ghTX3NsY45dHDn1q+zb5LjN5WxLgGFQ08rSOu+0E/oyl0+UhL4AYCSV8H3U2AW/4WK8nffuYb/i8svd/fUgthUoxMDpyBewjHSd6mbe8/Mk1f4ewSnrChz3klQ27FL96sAu6VW+6yTxrkit20pwM32mTVQuZhOh1/O5F+1g9ayGMbzCgrFaDyciSNeAxqux0cwWUBFvJL3CpP/FbPxQCmzxyv6r8g== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4007.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fe78594-dec0-45c9-c14d-08d84e839a8c X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2020 14:30:41.2004 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qWuexjudh4/Ok9Pp4daoJbkSmMjiCAAfTcVbUfZM5il3vp5d1HTowheftlmduWWTTWB5PYlChj3gVc4cg8KFVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4323 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Sheng, W > Sent: Monday, August 31, 2020 2:38 PM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Chaganty, Rangasai V > Subject: [PATCH v3 1/3] IntelSiliconPkg/VtdInfo: Add Null Root Entry Tabl= e PPI >=20 > Null root entry table address is a fixed silicon reserved address, > which is used to block the DMA transfer. >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2867 >=20 > Change-Id: I3aa2b2e7a11e0327857c6ed9bc92cd209d3ade9d > Cc: Ray Ni > Cc: Rangasai V Chaganty > Signed-off-by: Sheng Wei > --- > .../Include/Ppi/VtdNullRootEntryTable.h | 28 ++++++++++++++++= ++++++ > Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec | 1 + > 2 files changed, 29 insertions(+) > create mode 100644 Silicon/Intel/IntelSiliconPkg/Include/Ppi/VtdNullRoot= EntryTable.h >=20 > diff --git a/Silicon/Intel/IntelSiliconPkg/Include/Ppi/VtdNullRootEntryTa= ble.h > b/Silicon/Intel/IntelSiliconPkg/Include/Ppi/VtdNullRootEntryTable.h > new file mode 100644 > index 00000000..d79b5fd9 > --- /dev/null > +++ b/Silicon/Intel/IntelSiliconPkg/Include/Ppi/VtdNullRootEntryTable.h > @@ -0,0 +1,28 @@ > +/** @file > + The definition for VTD Null Root Entry Table PPI. > + > + This is a lightweight VTd null root entry table report in PEI phase. > + > + Copyright (c) 2020, Intel Corporation. All rights reserved.
> + SPDX-License-Identifier: BSD-2-Clause-Patent > + > +**/ > + > +#ifndef __VTD_NULL_ROOT_ENTRY_TABLE_PPI_H__ > +#define __VTD_NULL_ROOT_ENTRY_TABLE_PPI_H__ > + > +#define EDKII_VTD_NULL_ROOT_ENTRY_TABLE_PPI_GUID \ > + { \ > + 0x3de0593f, 0x6e3e, 0x4542, { 0xa1, 0xcb, 0xcb, 0xb2, 0xdb, 0xeb, = 0xd8, 0xff } \ > + } > + > +// > +// Null root entry table address is a fixed silicon reserved address, > +// which is used to block the DMA transfer. > +// > +typedef UINT64 EDKII_VTD_NULL_ROOT_ENTRY_TABLE_PPI; > + > +extern EFI_GUID gEdkiiVTdNullRootEntryTableGuid; > + > +#endif > + > diff --git a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec b/Silicon/= Intel/IntelSiliconPkg/IntelSiliconPkg.dec > index e4a7fec3..284820af 100644 > --- a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec > +++ b/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec > @@ -68,6 +68,7 @@ >=20 > [Ppis] > gEdkiiVTdInfoPpiGuid =3D { 0x8a59fcb3, 0xf191, 0x400c, { 0x97, 0x67, 0= x67, 0xaf, 0x2b, 0x25, 0x68, 0x4a } } > + gEdkiiVTdNullRootEntryTableGuid =3D { 0x3de0593f, 0x6e3e, 0x4542, { 0x= a1, 0xcb, 0xcb, 0xb2, 0xdb, 0xeb, 0xd8, 0xff } } >=20 > [Protocols] > gEdkiiPlatformVTdPolicyProtocolGuid =3D { 0x3d17e448, 0x466, 0x4e20, {= 0x99, 0x9f, 0xb2, 0xe1, 0x34, 0x88, 0xee, 0x22 }} > -- > 2.16.2.windows.1