From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.6136.1633993273699681304 for ; Mon, 11 Oct 2021 16:01:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=y27pJaGb; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: isaac.w.oram@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="313182286" X-IronPort-AV: E=Sophos;i="5.85,365,1624345200"; d="scan'208";a="313182286" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 16:01:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,365,1624345200"; d="scan'208";a="591504914" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga004.jf.intel.com with ESMTP; 11 Oct 2021 16:01:12 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 16:01:12 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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.2242.12; Mon, 11 Oct 2021 16:01:12 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 11 Oct 2021 16:01:11 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 11 Oct 2021 16:01:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OlRsa7JaTWQhb/4SIEc1lRWBlvwNYNApF+yDsimfl4aTj6vHwGqN4e0lR/c6watbEX14+pLY8Hp8KVRWGkCL0gNp9L6KYfZjPkgJczKHfg15NCEHEWjen5oQrrCUIh9S/ow2ZCR3AUjizvSzWqfpS2qBLiRkd4eVDH5t1Fo+aAcctMxfaUSdghsUBR8V4YfGjk+kpd6zzQ1rW7dpLjWEB8QjGSjjjHf2SwB/Kz1dxIv2NSICHioh4vYjjKiTWuN9a7nrAaNhAaLtwRowESw+kL4LJdU+Q/+pn7zmrZmEAr7zdNhfVfdXAoHoTy+WWrSw5HMo2vWZktaZTLY7IYz2ng== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rrOvb2Tdnxw+kjPwtnTlKjsA3VHlvVNHk6rmT0P6jjc=; b=ofenbDWgaXfsoRhS08U5XmhUlk0QfCWtLuIFLd2VSXpPqqzQDAYiquRPPMGWHLUU5/bU2oOln6JphB5GRYa2PgD+rQ9G3h54N/Kb493T0tAShPGmNQNS89fhkWQOM7F12S66ucvKwpfvku6K7LutgD68Er3whJmsEfBDuJeQB74LAa936OxzuYU8122zz5TQrMxnpknUAJhQ5xs+83p96kIuG07EKicWZAvNgxZ7qY2kCvP2uXqstSNoM2l+H9r6aJdM+NfpduyV7YvW202vmxjMF3vduoy29xnO8ChKTeVzhi9N2Ln9lWDSIcRbfRm9dQVe18MkbXC0/lAqx6vo0w== 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=rrOvb2Tdnxw+kjPwtnTlKjsA3VHlvVNHk6rmT0P6jjc=; b=y27pJaGbbg327LHhFJOdxwXnaI9xeFpGuo1yaD/utbXJ4KpnVi+R5OsWDj9qbpShLpNGJB4tec6EFMxc6wea76F/n8oz58uo3xLJq9fDtmxo/ETPSbqHsAdtbLV1u128LJ7ltzhs71bqIE1HacmfW6BsxTZjvyOjTLfqPLYxPZs= Received: from MW3PR11MB4747.namprd11.prod.outlook.com (2603:10b6:303:2f::11) by MWHPR1101MB2077.namprd11.prod.outlook.com (2603:10b6:301:4d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Mon, 11 Oct 2021 23:01:11 +0000 Received: from MW3PR11MB4747.namprd11.prod.outlook.com ([fe80::7cc4:11e3:2f09:f658]) by MW3PR11MB4747.namprd11.prod.outlook.com ([fe80::7cc4:11e3:2f09:f658%3]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 23:01:11 +0000 From: "Oram, Isaac W" To: "devel@edk2.groups.io" , "Oram, Isaac W" CC: "Chiu, Chasel" , "Desimone, Nathaniel L" , "DOPPALAPUDI, HARIKRISHNA" , "Jha, Manish" , "KARPAGAVINAYAGAM, MANICKAVASAKAM" Subject: Re: [edk2-devel][edk2-platforms][PATCH V2 0/5] WhitleyOpenBoardPkg: Enable VT-D support Thread-Topic: [edk2-devel][edk2-platforms][PATCH V2 0/5] WhitleyOpenBoardPkg: Enable VT-D support Thread-Index: AQHXukDdyzfPSVcbSEmjWjIXWF8ek6vOcpoQ Date: Mon, 11 Oct 2021 23:01:10 +0000 Message-ID: References: <16AB461B1C6DBB8E.4303@groups.io> In-Reply-To: <16AB461B1C6DBB8E.4303@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.200.16 dlp-reaction: no-action authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5ca54d37-977e-45e1-66ad-08d98d0b0497 x-ms-traffictypediagnostic: MWHPR1101MB2077: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CCMexwSnvvb88v9FVc4Xnu62OwpO+F5kTU4DCv7z7lMzemHpG/i4ItYGS6sT8DdlFcRv5IquZSSz6rjCl6AGSBoJ3NMTaGw/hHfrNVIEviqkZNHgMc3Y34O/f8s59srdmi4WwXGBqxJRA0I09C/WiraRxI1TwbwB9TKqu1dnLYkoLU2GOKFW/D2ti2eIoJEej/9/QBKGHNGLkDSGasvDSKNKOqYnDu0DDLtA+dXQ+EdfQJCyNtGI6220tdQCXD86OLbJZrMqsquNjumgglUTLmO0zijwZUuH1+GyAJ3pNhU7FjiNTEbpOwXUquQ/bDCd+XP6MCpBiN+qbTwwKwnPYOcNog42idNoh/j/cTLEZyzoPEEEe/kvRJ75PMxoE7tMf8tVFUm0SxYszc96PW9kKJRavyap0VpkN673Z1vq5MSByBLBs/4PzSUe4flecuellqTxXlQbs4wxKFabIBlhf7xDB5Y0ixR+dVDELOSHqLRGDhIUJaMRXExnzXFTrxWpcYzWjRW2ZyEPJ2/faaBzoPaasRTz06rRxhgTtJOmgTxS+QpiEaayX3iAoO5/yhUr8sqUDB5G01SWuMKgyEg/DMOM4OfupbotlRYmqH72wphLPVHT9moMK7pQU+DnDjagvMjmafwu+5QUMvXE2BDTLsaR1NK5K5YAGqPuEbJUpjhw06M06KARPh2eNm/kF0Fh56B0jQL6MeG6ykekvyaee1elkdyjzd7DOXUiuHgOphKZkLSbmRa1s2Ch77WIits7M17K/t6JZHSENz2XAx4on0tVUxTcP7tBS5X9e/vVoZR5gFhuThz3rK3/0wT5NU0+O6oZub/6tZX5kC0bq12s9g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4747.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(55016002)(4326008)(83380400001)(110136005)(38100700002)(966005)(122000001)(33656002)(8676002)(9686003)(54906003)(26005)(38070700005)(186003)(508600001)(66946007)(53546011)(66446008)(71200400001)(52536014)(86362001)(7696005)(5660300002)(8936002)(316002)(64756008)(66556008)(6506007)(2906002)(66476007)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XNtdJLBnzg+7Bp3rpROMAuHWCpZ/42r7k4PAYRdXKL7b9CRQLYmm5U43ye7B?= =?us-ascii?Q?SA7PVLnFPssYxnXZTydlolVYVHmSiTR31yPLlEJPPCLa0eF59kcB+OT/ZxMj?= =?us-ascii?Q?hFkZF06Y1swdfO6Jyh2yDPgGMwZuBtejUt/pDX8/vX0aznYr+M8f1BjP86Hl?= =?us-ascii?Q?EvdhWqvfT/EIqZC/oAO363MsCGs5yOQZmlCa9jItQ18Un7m8a3+29pPBgOyo?= =?us-ascii?Q?s8sbWG0swPvVNkZaesI4HKLN5qRmbGd6Xs4shY3usM7+vupOtPows5N/N5bk?= =?us-ascii?Q?5trvNbRXIbf57PsZlKFJ4xHZMY1rCFilyKyOytGlGwKH1UA0o3Fv/DDy0M2k?= =?us-ascii?Q?5K315VOKOAQA6zpdvM7oly/hWkvrCngI5YRHxU2b3b87vzNvx+fpuVjYAxOg?= =?us-ascii?Q?s+Stk4BbBvxQroLScYBEE/Xlh0D24lzRjcXi6hMilf1dMsHimfmEdrO6Xuw0?= =?us-ascii?Q?N2nNhS4taUbctm/TTGaWjCmXUVLec5suABsNT9nEzU0Ly3Yj2diUQmsilVbr?= =?us-ascii?Q?RCWWSf5wmgL0zdDtIpH7otCKxKDxs34Van11kz9qwC9KTW7zjk1PobZDAfut?= =?us-ascii?Q?AdO6u80zyayw0O/TD4xFiQdeCB5IZgxm9tT7LB6WLHZpFoDn8hYaf2d/7Xaz?= =?us-ascii?Q?eVD6iJrqx5mbMXI4AW9VqtapszokFpFxRIlLsT49vIumq4IEuibUZDXaPZ6I?= =?us-ascii?Q?AxdKmwdH6a4Bj8Bs6tFDauyTOhpTMS2Bh4+qQ9zh5UereTSJ3GDNDN3Z6xP0?= =?us-ascii?Q?zMVOpFiANcHal9xamLvSDdS1YRef145qY77dInx3b/Q9B+P2woO7obdvCFa7?= =?us-ascii?Q?VqVrOeIi1qRYrtmfM2CQAR53KafHLcvt7dHcCXOt5WJF80leg0sKfHXJznmg?= =?us-ascii?Q?a+haVauXLNexdsX6vFLcDWzJsxtEZWrJIsmIb7ug7vMeXDfqhZYXtg4HPCfk?= =?us-ascii?Q?5n3hgrSELv39ipyE+e5xUgKjefpbl2ozEru01gzbURwNFqS29FaJ4PmprDvI?= =?us-ascii?Q?5Nho+MoAEHVX/ROyfXYQDI+tog9mXRM1QrBLDBBOG3JAR0bTFpUvBdF2mhWC?= =?us-ascii?Q?WDk6SE5EN/jQHhM1n9E4T8EA91LaOpflwB3tpQfvlEAbkx+dCVaF2PaJEO4J?= =?us-ascii?Q?VPZo9Z5txGo2y4Q6qauaJwPWGk1NH7IRfyf629HExzM3uFyStfv3bHdgttTy?= =?us-ascii?Q?fipU8d3egkznu4fv7T6LqnR1n7WdGIdlkyTksBhG/KoU6C1X8x7itV1IxIzp?= =?us-ascii?Q?DswsIJcEYSuYp+Ped9KBG2Z0f6ff28eGXB0zhmax4awRB7+Yb6FoLyIQHJ8U?= =?us-ascii?Q?rNunUuIHRZAgtjPHhjOg1tZ3?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4747.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ca54d37-977e-45e1-66ad-08d98d0b0497 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2021 23:01:10.9748 (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: IuFAt8MpOxNFcIPcTVBSu7+bPaS9rM3cfwXMRIvOyqYrMaDBsA/P6M3rzB6qA55Nd/fmkC3QDSzF4CEmt4NQNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2077 Return-Path: isaac.w.oram@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Pushed as f53964786a..df7fbfbaab -----Original Message----- From: devel@edk2.groups.io On Behalf Of Oram, Isaac = W Sent: Tuesday, October 5, 2021 4:26 PM To: devel@edk2.groups.io Cc: Chiu, Chasel ; Desimone, Nathaniel L ; DOPPALAPUDI, HARIKRISHNA ; Jha= , Manish ; KARPAGAVINAYAGAM, MANICKAVASAKAM Subject: [edk2-devel][edk2-platforms][PATCH V2 0/5] WhitleyOpenBoardPkg: En= able VT-D support This patch series enables VT-D support in the WhitleyOpenBoardPkg. For the initial patch, I missed that there was a different AcpiPlatform dri= ver required. This patch series incorporates that requirement and the addi= tional changes that requires. The AcpiPlatform driver leverages SMBIOS and the AcpiVtd driver to update A= CPI tables ultimately providing the VT-D support. The original V1 patch for VT-D has been updated to match file naming conven= tion (VTD to Vtd) and to match the proprietary binary signature format used= . This complete support for VT-D is accomplished by: Including additional SMBIOS support in FvLateOpenBoard.fv Including additional ACPI table support in FvLateOpenBoard.fv Including proprietary AcpiPlatform driver in FvLateOpenBoard.fv Updating to FSP 2.2.0.3A where the additional FvLateOpenBoard content is = present Adding FvLateOpenBoard.fv DynamicEx PCD support Adding open source AcpiVtd driver to patch ACPI tables called by AcpiPlat= form. SMBIOS table content is customizable via DynamicEx PCD added. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Harikrishna Doppalapudi Cc: Manish Jha Cc: Manickavasakam Karpagavinayagam Signed-off-by: Isaac Oram Isaac Oram (4): WhitleyOpenBoardPkg/Smbios: Add SMBIOS PCD WhitleySiliconPkg/Interfaces: Update to Server-RC-0.2.2.003a WhitleySiliconPkg/Interfaces: Remove PcdsDynamic use. WhitleyOpenBoardPkg/Acpi: Use binary AcpiPlatform driver Oram, Isaac W (1): WhitleyOpenBoardPkg: Enable VT-D support Platform/Intel/WhitleyOpenBoardPkg/Features/AcpiVtd/AcpiVtd.c | 604 +++= +++++++++++++++++ Platform/Intel/WhitleyOpenBoardPkg/Features/AcpiVtd/AcpiVtd.inf | 66 +++ Platform/Intel/WhitleyOpenBoardPkg/Include/AcpiVtd.h | 53 ++ Platform/Intel/WhitleyOpenBoardPkg/Include/Protocol/DmaRemap.h | 109 +++= + Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dec | 111 +++= + Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc | 10 +- Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.fdf | 3 +- Platform/Intel/WhitleyOpenBoardPkg/StructurePcd.dsc | 271 +++= +++--- Silicon/Intel/WhitleySiliconPkg/CpRcPkg.dec | 6 +- Silicon/Intel/WhitleySiliconPkg/Cpu/CpuRcPkg.dec | 2 +- Silicon/Intel/WhitleySiliconPkg/Include/Guid/SocketIioVariable.h | 1 + Silicon/Intel/WhitleySiliconPkg/Include/IioConfig.h | 1 + Silicon/Intel/WhitleySiliconPkg/Include/IioSetupDefinitions.h | 4 + Silicon/Intel/WhitleySiliconPkg/SiliconPkg.dec | 19 +- 14 files changed, 1140 insertions(+), 120 deletions(-) create mode 100644= Platform/Intel/WhitleyOpenBoardPkg/Features/AcpiVtd/AcpiVtd.c create mode 100644 Platform/Intel/WhitleyOpenBoardPkg/Features/AcpiVtd/Acp= iVtd.inf create mode 100644 Platform/Intel/WhitleyOpenBoardPkg/Include/AcpiVtd.h create mode 100644 Platform/Intel/WhitleyOpenBoardPkg/Include/Protocol/Dma= Remap.h -- 2.27.0.windows.1