From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.74]) by mx.groups.io with SMTP id smtpd.web10.8576.1688072962112607982 for ; Thu, 29 Jun 2023 14:09:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=qwthOhAV; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.94.74, mailfrom: jbrasen@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FKRgENSXbcZsNG3JHUpYwN2tm9x/zfLWTIZOmAfHNZRFwQIWtXbAH4a21VIBlS5DVMlPNxmEbwASt3c6QxPmBUBX0wWdPcRCnufSQUSvTlzW9lsS7PvUe3FTaEe9VFBX1TkI3UOKyRCaMN4nA2ARCs+Kd689kVhkyKp661Tzg+vWj+iDuEc6ZJ7HqCYcyKYAHv3ZPXnlz8T5w8Tdxti+KXLDB/4/liSDkFZpbQi9B8wP3sESJHHCZxO1BnTniiOAYYDYq3Lq/qbAkmSFCL5K5AJN6Kc8WJN71s6f1C7tXcFhvqulR3CAEzfpMKppmyQhdn5157ggy1HYuqmN2Uo2KQ== 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=rOXfEJ8UJ1pWa2HSSKEHnJN66Nl8FRSqcuurrsZk2mA=; b=CjhWkLVkw2zbzP0I/+IBCYX+m0Y52ccGZGrSHePdzN4YSKX2F/6bjGTho7nV/CxVOjdFrpbSPdxfbTx5NVFYGw226NlGwjADV3fgUGk3yMZVGifz908R/xBMcbstLXwh67kWnSxwNWCeCrUFUDkkGfEn3BNo8inJYmagEwQn6qXdKijlt/sx3W3+n7dgj5dBxC+7QLzoXbeMVUyvhMJ3NnbM0G/xTaOYEGTemSclWGTWsBvDRvTL5klwYhUge07qpZKZJuYEWYW3Tc6PpdWGY0VaDrDnzONIv+O3EZmJGu84Utx4UYONN/WWg7eDXOPQjWnU0/3OYEt29hPut4U+HA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rOXfEJ8UJ1pWa2HSSKEHnJN66Nl8FRSqcuurrsZk2mA=; b=qwthOhAV1L3GpopLuOMqivUbh8Bj5PQYdk2NjrCAfFVGSHuPhg+euwVzd/0Xy0J1zO8AJ4HLQ5YPfCRQX2j+Q4MjhzIsLeWvtKuSMtG8YphEuNQ/Oh7CN159sa9Hd/fqYXF9sLoQacAQTuPsNJJdJ2dGQIObPjPF8wiXVHZBcEf50thCCEwe232Uy07QJ4W32wy5vKJXGQb3fm2FaWl9as0jruFwZCRlZgfulo9Ip2djTrdnvCh8CUG7/xT2boyxT93fJF88zmSblgKtT+aGgDnwHZtAisdNDQ8xKJC2rZHQFMSKrzSFiMcsYwmes1Jj4eegmao1q6tIXgdLXHfIYQ== Received: from DS7PR05CA0007.namprd05.prod.outlook.com (2603:10b6:5:3b9::12) by PH0PR12MB5629.namprd12.prod.outlook.com (2603:10b6:510:141::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Thu, 29 Jun 2023 21:09:19 +0000 Received: from DM6NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b9:cafe::84) by DS7PR05CA0007.outlook.office365.com (2603:10b6:5:3b9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.8 via Frontend Transport; Thu, 29 Jun 2023 21:09:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT052.mail.protection.outlook.com (10.13.172.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.50 via Frontend Transport; Thu, 29 Jun 2023 21:09:19 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 29 Jun 2023 14:09:08 -0700 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 29 Jun 2023 14:09:07 -0700 Received: from 6cd8174ac25c.nvidia.com (10.127.8.9) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Thu, 29 Jun 2023 14:09:07 -0700 From: "Jeff Brasen" To: CC: , , , , Jeff Brasen Subject: [PATCH 1/2] MdeModulePkg/DxeCorePerformanceLib: Install BPDT in config table Date: Thu, 29 Jun 2023 21:09:02 +0000 Message-ID: <7e7a27f5d68b101737396049b9983e4ce62e40f2.1688072687.git.jbrasen@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-NVConfidentiality: public Return-Path: jbrasen@nvidia.com X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT052:EE_|PH0PR12MB5629:EE_ X-MS-Office365-Filtering-Correlation-Id: 50d29281-cf1b-4ba1-4bbf-08db78e51abc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v+gKMzgW3ouTCh3nAFyWvanUUAH92H5aaBXEVyPlrBjbZMkYkig+iOaOi8TurRlOZ/kpqXf/6bPJhY1BPcBosF0zK62F6byGmYMMqZ/RiZNsPq+wT5iRx/ep8vFgJgXdQWmAZw8+U2M2hOxMCy5v2R1DT1EaiJJE1E8BgP707VISKAyipFv9IUBvX5OYMtHCog+D09+NF/LuEtTraEJpEkXEy+Iel1D5FNBDov4+m/ZloFBU3Hem6Oki8CMIK4jDuNqxWxyPqD4FjwCpAwNiw8I6uAdy7lmvxttjg2hpqsF3ktNuwQ4pbR83M/689aSezWcFY8bCDYDOW38fBNCChrlWRZbFxvk93txvd653N6GuwgOazXLdFE32pzJsIchisR5j4zTX1rOL/jnDCVe9eVxMf8AJE2W6C1SDNETHrGZD5x9MTmYQuH2cYlxV1rVLxPhHkD7+u5tf0NOMUCp4v03WR49SHNRbN0ANfTkIvse8X4MfweE+QWFPtFfa1iTAhIc3M+9ZBgnbAqkyK+q26+wLV8yq/BJEKybep4LK9BAmJApelfBXbzAhJCmGeb569hJnBx0vlY6MdML6TGs4eG8jQSnoayL0FnNR1ouDYbjSd8xbImIDGWuvZOWMWunSQVjKdDvZoazcrIg2hmn8x6qub7Rsmh/GNzeYoExmBxdJuxLa/o3ZZilCVfd4kiJ7sEUMrFJSY8kUiOX5lOMmti56ZGQoa13oueRWusSVLpF1Ml4NyBzbRlH4g50FB4WJ X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199021)(46966006)(40470700004)(36840700001)(6666004)(4744005)(2906002)(186003)(7696005)(40480700001)(82310400005)(86362001)(107886003)(82740400003)(2616005)(7636003)(426003)(26005)(336012)(47076005)(356005)(36860700001)(40460700003)(41300700001)(54906003)(478600001)(70206006)(316002)(36756003)(4326008)(6916009)(70586007)(5660300002)(8676002)(8936002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2023 21:09:19.2886 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50d29281-cf1b-4ba1-4bbf-08db78e51abc X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5629 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Install the performance table into the UEFI configuration table. This will allow the shell application to get this if the system is not using ACPI. Signed-off-by: Jeff Brasen --- .../Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceL= ib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c index ef14bc0738..e72b04794a 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c @@ -1403,6 +1403,8 @@ ReportFpdtRecordBuffer ( &BPDTAddr, sizeof (UINT64) ); + Status =3D gBS->InstallConfigurationTable (&gEdkiiFpdtExtendedFirmwa= rePerformanceGuid, (VOID *)BPDTAddr); + ASSERT_EFI_ERROR (Status); } =20 // --=20 2.25.1