From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.85]) by mx.groups.io with SMTP id smtpd.web11.20011.1688146228351757589 for ; Fri, 30 Jun 2023 10:30:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=kXKkebwW; 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.220.85, mailfrom: jbrasen@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V0AImUEiloQAa/TRobaHxmBJSMZ/+VFR0Tn4OOSdJ3Xc7qeYyuEHxq/LyynnoLVTSQ6i4DLQDiQPR4AKzfHG65wopJ5+Hgaaxs8VtklVw0o84LacDfVQwytYLV7axfsl57gd50Xk2em+IzMunurK/P+7xVNy3saWIrt2b62aWR9gj9Lo9GxsLOj17eAcEbAiZrrmn9UaJQ77dppWWXTPif0L4I/RmC4A8/Rc8caqZ8BMPs5F0HYc/hGb/acNzOuDeVqFvqU2Bvx5Pgb455oNUgfCvvOXrm9SuSWDldeUunJKWV/erpP86Yixj7TIeiKy9f78mjZFSnldnoxmyauyAA== 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=q4UDuUEqOn3bErwFksYVHHqXXK4k8MH2+ZT/l6ncuMs=; b=Pm1RSy4b1XQ9jZuxA8BChSrx0QqtZixOWPa/sJekAwK+sGVET0Q2S9j9aotqFkbEs39Hk9r9eZJt+0S6pUrTzZypAlfYIa/IWXRmG/UUQacdwiCDvYrXtmGim8PgGy8oSjELwn2j1j7DegLHBrClFnaJpHxD6PlCigkIssOqjjDqVVwhCX4c8Ej6Whm2yipPIY0PS5aKt5+mEoQI4qzWxOJxXaj4SOkX+PFnEyniNZTrRiULc4K69r5abiX9dp4UtOxhgLhqyOPxfOuogNUNk/J6g5cA+os0eo94MwZ1A8M+r5uf+KlaKAoSg1ULy9JAi1Y1FAZSH6pOUotLq7/HTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) 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=q4UDuUEqOn3bErwFksYVHHqXXK4k8MH2+ZT/l6ncuMs=; b=kXKkebwW4HadIxuaQzeHqSUuzS4G9/6wVuS3SYKbWVRd3t6BxUPIDVtQoFjOXTE00bCTuGMIxZBoi0iI2zHE1Vo8BaLrZMIk27BZIYqsyhmSspfAcvh9+b1SIXZ7CoaF6NOzTU+gAeRHGF5mXsNuBYfD9m2GyUVuZFotFky3JY/GBOMISig6MTMPRaflRZ4+Aoj+/PcaZvzf3jdBSuoWabP8yO9J+pVThovQOhNLIBQys7s5qKg4T1FpRzM5PmKnf3YDCPk5VPBFKnnP58+eyChbUxerdzVmxK59/47pl6Q9x3cyer/Fap5CXoRgomcy+deqhSZ7jwHbaGAFl/R3og== Received: from DS7PR05CA0018.namprd05.prod.outlook.com (2603:10b6:5:3b9::23) by CH0PR12MB5217.namprd12.prod.outlook.com (2603:10b6:610:d0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.15; Fri, 30 Jun 2023 17:30:26 +0000 Received: from DM6NAM11FT090.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b9:cafe::48) by DS7PR05CA0018.outlook.office365.com (2603:10b6:5:3b9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.10 via Frontend Transport; Fri, 30 Jun 2023 17:30:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by DM6NAM11FT090.mail.protection.outlook.com (10.13.172.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.43 via Frontend Transport; Fri, 30 Jun 2023 17:30:25 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Fri, 30 Jun 2023 10:30:16 -0700 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Fri, 30 Jun 2023 10:30:15 -0700 Received: from 6cd8174ac25c.nvidia.com (10.127.8.9) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Fri, 30 Jun 2023 10:30:15 -0700 From: "Jeff Brasen" To: CC: , , , , Jeff Brasen Subject: [PATCH v2 1/2] MdeModulePkg/DxeCorePerformanceLib: Install BPDT in config table Date: Fri, 30 Jun 2023 17:30:14 +0000 Message-ID: <1b3dda2af193e0c156b0d390a29e3a6caec003b6.1688141699.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: DM6NAM11FT090:EE_|CH0PR12MB5217:EE_ X-MS-Office365-Filtering-Correlation-Id: 38ac168f-9711-4253-9ce5-08db798fb112 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UHghY1I8t1jYnH5TjtHsadqCj28fd9EkftT25GgmuIyvpug961G2WiWBCDRJfQCf317SD7tOC+temalJ1JJoPn6oZ2Z3t9+ugvxOvy/eRyjVvujr59GJRBAOUjiGo8/YyvkUSKiUclQog5SLjsYKriUUbDyxof/jeKMIlG2mfRSga4vwaUOEZaI2EC/EqnXyyt2MpHmLRTE6NXzBNBVfh3nGokyIwQB9Mhc7zijQtcA+GKoxB8jBiJcLL39pcNnPUyytsT344+HWRyyQ5uE2sdkWM3n9tD+fwOgDA+sXx+SQ/FWtPi8/zE2B8IpNn+AZRxFxkd3Rf6We1u9uQpfMIbVBKxw+esBHu7rKS1tEFUvWUAMnPnxIVeifEZmLGTd4PKnqdITGBU8ZEfE56ojGd5tODLodEgSmW+4O/c1mrEs3CV7K7+MmIwRht0qSF+itIAcehA34YjMNuKDS+nyZIattvNSMMBhYUBRqjL8YeF/R1eFF2cTS2QAFDa0+SHwmTJgyH9V5BLUUeFLWVoPyOoaH35VH+jXaoKSflP4jier8DMGy7AXN+fGTHPdqN7TXon3NyBYKuGd3Jdul0C7jQc44FMhAvumswOYc19JcykcG9zVMFdWCPyV3VfnCdhjbahhupBQWWhxkcpij9FjwNkxo3buwrA/PQ+HaE+Dy7UHmw4URlWkIG+KF+tQldE/6xTV1j4+eg/crScKsf6KHTWy5G7anZ4osRmhRzXyVZXx8qhNs5ly5Dz7n9vdOsBd5 X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(346002)(376002)(136003)(396003)(451199021)(46966006)(36840700001)(40470700004)(2906002)(36756003)(82310400005)(4744005)(86362001)(5660300002)(41300700001)(8936002)(8676002)(70586007)(4326008)(70206006)(6916009)(316002)(47076005)(478600001)(82740400003)(7696005)(26005)(54906003)(356005)(7636003)(107886003)(40460700003)(36860700001)(426003)(336012)(186003)(40480700001)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2023 17:30:25.9722 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 38ac168f-9711-4253-9ce5-08db798fb112 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT090.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5217 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 ef14bc073810..57792ba44e7f 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 *)(UINTN)BPDTAddr); + ASSERT_EFI_ERROR (Status); } =20 // --=20 2.25.1