From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.4623.1633986270106628176 for ; Mon, 11 Oct 2021 14:04:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=J4fy/vbv; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: nathaniel.l.desimone@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="290463663" X-IronPort-AV: E=Sophos;i="5.85,365,1624345200"; d="scan'208";a="290463663" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 14:04:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,365,1624345200"; d="scan'208";a="480033293" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga007.jf.intel.com with ESMTP; 11 Oct 2021 14:04:28 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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 14:04:28 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 14:04:28 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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 14:04:28 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.173) by edgegateway.intel.com (192.55.55.68) 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 14:04:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Aa7O8vdLumC6Tez7QYzZOOOko1gm0OaFWY0EQQStCzArerSVIFozRueKwZbkS/fD4sET9HAaMWO+cCxYb4UJRndgPc8vnVW2C7kRgqGbNpa74/bEfG6hpLLZdyy9AoIQrZs+bUZNjNbBAsg2kQNLApz/zgM0QXB+U+34YzEAWQZLNQ2bBFrFV+GE+OI7o0vuuueuuUHib36Qg9F7QaudZwToVvwoXRRy0D2y93o+hC+9i377bllPUJgrSicDp4wyeDTrnCsoAFKQvZIUobSoFefl5WBzdceMtiwbOW3TbfiKFWZTfUjV85HoEo0q13dnau8UJ1EJdYf7nQ5jXCt9UA== 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=Xt+o16aKtxQw3NsCuDU/dQclQNm7RKRXUVw2T1Oph/8=; b=iFm0Flw4xBmctrMeg/jAhNb3WxRgB65HH+1NuvFIKELq2LZknN8sil6vZjxXdX6AuO7HurRFXfq4V5IPNXrR7P8hdTk0BibIMaMCBlWMxCQyaCTGL5Nxz2ymM6UY0cnHF/ddOWNC1r11p/6uwmbsEsiNthKtukA2D0lx6j0qjQJVeRcwD7OG4ZpFO3u5AR41CD/2up6o2MfQYo4yBMRNCiuGrRkMX7y/yN+MV7D3npwOtUDna7ChTxz/JDJXhJ5Qbg3SG1cya0bDh5dQlXE5CUoNyCpoW53fMH/w0y5zWEyNPjHsWtoHKOzP3mUplYC6BhkAJC+0dtXvuEI2lEnfvA== 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=Xt+o16aKtxQw3NsCuDU/dQclQNm7RKRXUVw2T1Oph/8=; b=J4fy/vbv+lWFwguYxAHrTGVBJsIkt0axl7/kQitd8Sj6UVYF4lkve9RKZiEQ/hQYIt+ji7FkxQAIUBOvrQa4ggH5Kr5q6uhZ9BefnXt1c+oF+x7c6TkiLavQ/LOhIfBo9cNm2ZIuhTMWfqoRpMI/o650CMeQIm7TPPk6edq+sGk= Received: from MWHPR1101MB2160.namprd11.prod.outlook.com (2603:10b6:301:5b::12) by CO1PR11MB4836.namprd11.prod.outlook.com (2603:10b6:303:9d::22) 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 21:04:22 +0000 Received: from MWHPR1101MB2160.namprd11.prod.outlook.com ([fe80::f07d:7a97:3b68:92ed]) by MWHPR1101MB2160.namprd11.prod.outlook.com ([fe80::f07d:7a97:3b68:92ed%11]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 21:04:21 +0000 From: "Nate DeSimone" To: "Oram, Isaac W" , "devel@edk2.groups.io" CC: "Chiu, Chasel" , "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: AQHXukBn2ndkeIeVx0KF2b5zV0GqNavOUomA Date: Mon, 11 Oct 2021 21:04:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 764d654a-de79-4ab7-b86c-08d98cfab2c1 x-ms-traffictypediagnostic: CO1PR11MB4836: 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:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6QVb5eagIn0Q/9XFTJRr+VYphJ7z63pGKeTCKAxn2nCyz/VDREjrfA7bgCvFKAle948sJElE/KvqxFH38mynf5A+DIDnlQjbRDtmsxFJpmWPNq6UTXHLwMUdH9jqLlEZD/+RIIlu+ZaDNYE7us1IwIem+5eL7AER55HJyZ6sd/r93ZFqKtgSbcvw5b9NWUyUP2vZn1rk7UMpEFMbR3IDlw4wEOU7uv5NFmipsUJPN16TudYVLhWph+wo+o7e/iiBYibM4Er95I3bka49GTD6USLxLJWd8I53TpGNhxGP48fnqHZuU/ijDbflIvkkDRPGJ57XxrrGm5izedflI5GkyhDdNXxcukgYi5FhMpJIcdg0vNbcZ9YRbvOcGwnzdGAXFhbPFJAzVXBdx5Xe25p9NEvQfUTk7JG/gi70lG+b1Shq5UfV27KSah6gCXQw7kKpKxD9rffDRTqhuQ6DEMXRdLyK+wFwmpg+2VXi4CcSbMZlIaLtp1oZ3WpoBfqFKxcTliHeG94AyoFniGJ41KqGjt+I413U3W3fT8ympICTItZ2PPnkiqQRldY/q3R+yVC4VbASbg8ysWrj+hY10fREjwpSXod7UauZaAc8ReQo0Z6eHmrMhOK1SezrJtWSdD6R5nl0NBxeJBVz+xqx6pWIGXHaVuBhBgpCc+Hefpgj5m35IeT1GHMUyxvrhdVCPgm2cPJLXxyItuCMgP8YH2NA/Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1101MB2160.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(5660300002)(66446008)(66476007)(33656002)(86362001)(66946007)(9686003)(64756008)(26005)(76116006)(122000001)(38100700002)(66556008)(54906003)(508600001)(4326008)(110136005)(38070700005)(7696005)(186003)(8676002)(83380400001)(316002)(52536014)(55016002)(71200400001)(6506007)(53546011)(2906002)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?NR8Wv6sx0FaIsfoQFjGE4Lmoq16o29bEJk9qU2KfRdlqo6dv1hnhrhf5SJq3?= =?us-ascii?Q?SAD+DGjN2CJdU5iNMltkZ4vrN6HVz+Vg8bkhujR+xYiam81fJBlKnDHt6vwq?= =?us-ascii?Q?kH5m7Xm4dVq61eSNGt+/bJ7iDQ7HjtWXuijg3eBDi/d6E3NxGN96g3UwxGVV?= =?us-ascii?Q?JylyKhR14uyN0a6YANrKyOlq5r60Y9gohUAu/A9lQL8smPxv+K+yrww15Y6A?= =?us-ascii?Q?arLowIgZvXqcxnwKHXRMiKWEK/SlX6GvPgz6bHLa2fFTM08pAVNSNTb25p7a?= =?us-ascii?Q?FS3vVZd7FziTHMYlE8Z6VAqgBYlXm2bwQexmKU/leWz5iWpZm4SZL5Cy1f8M?= =?us-ascii?Q?epxH1bdE5n4ZQSq5xFe1evf/N+oEogAbLNygmR4pApsq+39hlcbq0KiOeihM?= =?us-ascii?Q?Zta5KpaudJTv+eAEWFch4YpT4G53v5IfO2p6IlJSXxGl6kBgBvXdywKv10br?= =?us-ascii?Q?Try4v6yFuKt9Wd/0gJbHVvprPrraRUA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X-MS-Exchange-CrossTenant-AuthSource: MWHPR1101MB2160.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 764d654a-de79-4ab7-b86c-08d98cfab2c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2021 21:04:21.6359 (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: bAdaJX3hvjDKh1xNRXJMjhaVWAp1Y3IITXa5prLp9Ew9ojEGT+qkAZhIDWOnLbLYBb8yJTxTHcd4/TCHMvbbW6d/Gt7z6m0uzNw+DXQ9ELw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4836 Return-Path: nathaniel.l.desimone@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nate DeSimone -----Original Message----- From: Oram, Isaac W =20 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