From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.72]) by mx.groups.io with SMTP id smtpd.web12.5061.1663624896251257183 for ; Mon, 19 Sep 2022 15:01:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=YKO0hLLd; 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.244.72, mailfrom: jbrasen@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iue/5fhgoRx1LNKgMQf7yHU03ePthju46NsTtPTcNG7A9cAzU4Nc45Yxdu8gjfnaBo0dbQNbxpFUfZYHPaZybyROeLC9KEQVL0WY6YxQNLwc2jmYvG9/ZugB9A+jJocgN8yVzy17VKkTNflPlXHD2L0aEkHdaGqZ0oeLsmkd0ktlVNdjSb935EV0d1sJQjAqfdFTw0qBFzj/yVpGf8KR8Td9VYMZp4bSIKYr5Xv/2+MSwCnvWS2m/mcA94EOFQzGtb3XqfCEkV45EERttwEkr2j9By9c+z+nqEGOULMPHb9L3KQrAKBzdDel9/Ff/ngzYdNfr5+pzjyH9QYZJny/uw== 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=wUC0b0otUDcDrnT/Ss07jMCUADH18j0X3j8VEAXAFi4=; b=NPZURYdW4CN8rjYaGSK4hRKB+RyZVJ/zrYoJ/rJm+EaCR8Su0tfrVFOTMMJ8Dr/Ln4tWyAhn8fM2t/gSgk45ypqByESTG7Q4eTctxAcCl92U3mua7NNeXT65vz/znZ+iNhP8EPGhjfulqXKdJ8uNT7JwNkWzfL4CGvpIK8U3IZiGLBaMeSUVffYNx2RNYL8AmFJ9XP6RuwvMDz+eznhwIWPf0N7ANItwtQ791z236zi7qeXIsM41lIIgaMriK/v28llp5U5rIM73YLYPnVvMYZV9aNWE8v5hp52uiO2UQZnFHkUwipRRnOGQbk2sDCu3WPW0l9FHKFFXH1o1QQKeaw== 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=wUC0b0otUDcDrnT/Ss07jMCUADH18j0X3j8VEAXAFi4=; b=YKO0hLLdPz2ZI7Ru+3JVJvxYpCeseTtHdB8nXsci3i5No6YJqS1k2f1ycTpO9IgD7/ghN4paL/GhmSExRzwelw37tV3hTU4ECdWF/kuP/jNV8L2YTKQRI9tFBDpMplLn3rWl2MeDY2S+rQ77xioNLvU/S5p1KPvewxCcML8wvNMyh1c4ZLl5M4uC+Ue5MzcdN+1eSJ2O4MSBiBjd0LgD/Y8j75pmeyrWcnYwL6hJZIuogPaO4H7Al8bogyIur4Rg+8eWUCpd5HAinpBIJHgqPuvtcQs7lY2W7t+bgDjgKHmhp1zO8ToaP8Rebl92tu5u+54LIkmmKcT+RHXz4IEMsQ== Received: from BN9PR03CA0917.namprd03.prod.outlook.com (2603:10b6:408:107::22) by MN2PR12MB4223.namprd12.prod.outlook.com (2603:10b6:208:1d3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.19; Mon, 19 Sep 2022 22:01:31 +0000 Received: from BN8NAM11FT032.eop-nam11.prod.protection.outlook.com (2603:10b6:408:107:cafe::3d) by BN9PR03CA0917.outlook.office365.com (2603:10b6:408:107::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21 via Frontend Transport; Mon, 19 Sep 2022 22:01:31 +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 BN8NAM11FT032.mail.protection.outlook.com (10.13.177.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.12 via Frontend Transport; Mon, 19 Sep 2022 22:01:31 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) 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.26; Mon, 19 Sep 2022 15:01:17 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Mon, 19 Sep 2022 15:01:16 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) 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.29; Mon, 19 Sep 2022 15:01:16 -0700 Received: from f153882e4be8.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.986.29 via Frontend Transport; Mon, 19 Sep 2022 15:01:15 -0700 From: "Jeff Brasen" To: CC: , , , , , Jeff Brasen Subject: [PATCH v4 0/3] DynamicTablesPkg: _CPC support Date: Mon, 19 Sep 2022 16:01:08 -0600 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-NVConfidentiality: public Return-Path: jbrasen@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT032:EE_|MN2PR12MB4223:EE_ X-MS-Office365-Filtering-Correlation-Id: b44cc423-6774-41e3-40cb-08da9a8a82e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VA8lCu0e8RaSL52ad64oq3bzyA6a8/y7g2sLGAftPZfhg2zhxItBN2JyH945fgohgzpehgdH+lThgoF7p9ve8MiRo3k4JPwJqomFVMGI6zqHq4a8aVC1YYCkI+YTBBt+LoiIQ+JMDKri/l7dKQRPhmqhOSieZJfGEGFBMYHGLT3aO0SOwPjhE8KAeE1vMUg1ix7EY5h8x1tcr/viVoGPE8XlYKiNSaNBfLwRNLcbJokd9WjySPhnrxZqybny/AhsKpglnmVeTot25rWxnrmaakIeRvfBsRTs3dEm+q7m8Ic6fPyqizjb921Ze7/6752Bun5d/GZS1/kB/qy7qI0B45B+Wyi3i6XL8eXKLcI6cC0kAM7iulVlTIzAUglIY+sy7aWcvG4SlcUxxnhut8Ri7K/rQsrku683qDyx6Y+/3rMZ4MBMNdD0X8EtFLevF6eLQDDFontZo7pwOM+ZLPehdSzuBam/kN+rU4t7SZlO9gjIMDMD9b130NfQgOQhk/0GZC1cznZUNaPj+KOdVQC6JDKLq17mC3qQbbl+dFXsxoc9wFQ+XxkQftJLKKmH7EUvgJyHue0IhNC0CIzw8il9khz/3vr236cRyBd8Gg1dV3ryeUJUpUJIFaHfna5QAm0xwXfSqgq3CYCbyDdjxvjAJZ/SIHnhcD6FUNw31z7sNPwogep/wzYUduBrsCxEWsVWwtfCHK83SNbmCgZAOuB62AdVUicUDh6Qt1Bgjs5fIoae3pHDUZon762FuMQAWaxz9Y3ZjfT2pCxiN0FtlRfIMKVUqrjffJ34FTkAvyeXJ0E= 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:(13230022)(4636009)(396003)(39860400002)(346002)(136003)(376002)(451199015)(36840700001)(40470700004)(46966006)(336012)(40460700003)(5660300002)(186003)(2616005)(82310400005)(47076005)(316002)(4744005)(6916009)(54906003)(86362001)(8936002)(40480700001)(356005)(26005)(36860700001)(7696005)(4326008)(36756003)(2906002)(478600001)(966005)(82740400003)(83380400001)(426003)(8676002)(70206006)(70586007)(107886003)(6666004)(41300700001)(7636003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2022 22:01:31.6426 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b44cc423-6774-41e3-40cb-08da9a8a82e8 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: BN8NAM11FT032.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4223 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Add generator for creating the _CPC object for CPU nodes. If viewing this review by a pull request is helpful one exists here: https://github.com/NVIDIA/edk2/pull/12 Change Log: v1 - Initial Revision v2 - Added revision to object, improved error handling, changed to ACPI 6.4= structures. v3 - Minor review feedback v4 - Convert CpcInfo to structure and use that for APIs Jeff Brasen (3): DynamicTablesPkg: Add CM_ARM_CPC_INFO object DynamicTablesPkg: AML Code generation to add _CPC entries DynamicTablesPkg: SSDT CPU _CPC generator .../Include/ArmNameSpaceObjects.h | 60 ++- DynamicTablesPkg/Include/Library/AmlCpcInfo.h | 124 +++++ .../Include/Library/AmlLib/AmlLib.h | 54 ++ .../SsdtCpuTopologyGenerator.c | 133 ++++- .../Common/AmlLib/CodeGen/AmlCodeGen.c | 476 ++++++++++++++++++ .../ConfigurationManagerObjectParser.c | 80 +++ 6 files changed, 904 insertions(+), 23 deletions(-) create mode 100644 DynamicTablesPkg/Include/Library/AmlCpcInfo.h --=20 2.25.1