From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.54]) by mx.groups.io with SMTP id smtpd.web09.9986.1657636328991806607 for ; Tue, 12 Jul 2022 07:32:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=XCx5TWiQ; spf=pass (domain: arm.com, ip: 40.107.6.54, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=YBDIj0RA+7ggKIjMPGhYGkWEif/ST+Jo40YvC7Ik/YbupvzEjJc715xq4fAWYsuQB1HdaT7m5US8O+kD1BGQwe89OzCWJDVnkqvvVqEZJN/u3oyPejXm5UTV2u6H+eloQ01D76v+jloiaMe2RSvNMig/m/D9rpvqXc6cwS1JMgp/wIBgPwPDAbb5+5LKp5eAlUc17sotP+2qUTR1USI/FMxRuPDgYGNG3e+Q2gCt4dTMpuuFb3Shw9Axpc7qf1XMz4enZcF5+IkF/SH5qWBqdI6Lo35+zGICJDwE0d3qG0JDWB3sYI7XUYLmS4CzDmngQDISlNXxmk85Uy4aCuq7hw== ARC-Message-Signature: i=2; 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=1CJRXOFuFvKygZo+k0uoDfv6/DzZtIVokulAJRI8oK8=; b=RSez33oZBgC80YYGneFixwXZyyU0GK5is9g53O9F/HTV73s4CWX3zFnphaXUrbvUNTOLdF4Jzgh1t4HE+HbFIC0w/D34lqIp3Zmnmx2d7rIVnxFzhr8ptlUHNQVSdrRIi5qtuCkWLw3zVTTtSC1RsjEK6pJj2pS6SlBVQ/Vpb9QeAJ+08KlWoxm3D+hq5zJjGUe9nznii66F5WcQDlfh5i1DUgxMJ3/HCa/ipG5ZrMgVEFrSoP94N2h3YILP7+hzsExUu2dUn0anEUTSyFTLdE6SsnKINX3PBsmuKtygMBKU7mGM5BN+U+Bjq42CbVlCQ1JwBE0wexEvxXcsoJwnuw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1CJRXOFuFvKygZo+k0uoDfv6/DzZtIVokulAJRI8oK8=; b=XCx5TWiQzhUNx5v7UFvG9HyDe7ujrbWBRtK+ccGH13ISkz4HIZam3u9WThCMxauK+bl1V1fyfh0nUirgIECH/cd8ehyFiQy8zGP0o5BLhePn2YELBHFzjyXe13Y2I/i9ieVGLb0k36rC2LUo5NuSpF9XUO6k4FZ06r9vBedBHgs= Received: from DB6PR0301CA0030.eurprd03.prod.outlook.com (2603:10a6:4:3e::40) by AM8PR08MB5730.eurprd08.prod.outlook.com (2603:10a6:20b:1d5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 14:32:06 +0000 Received: from DBAEUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::d5) by DB6PR0301CA0030.outlook.office365.com (2603:10a6:4:3e::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26 via Frontend Transport; Tue, 12 Jul 2022 14:32:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT021.mail.protection.outlook.com (100.127.142.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 14:32:06 +0000 Received: ("Tessian outbound 0ba541f03a2a:v122"); Tue, 12 Jul 2022 14:32:06 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 98ba1227f9a2d760 X-CR-MTA-TID: 64aa7808 Received: from c0b731f0e5c4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7A1C3A0A-479A-470F-BB8D-34BFA47C3875.1; Tue, 12 Jul 2022 14:31:59 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c0b731f0e5c4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 12 Jul 2022 14:31:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EFGeqXTHlS/3cMExdZ9f1nbR8CR3sQumBXbNuHdopu712dOOnnBQoVEd0rMFCa0s9p1Dm16YMubGuzbPY4xmExowm8utT0LhrymFJslTPcbBbZr8731HD9H8AfALOuGaIoUBkBmW4xF9SNznFEnZxzyepP8IcNh9uKxca0/JLRn8SQlpUrXn9VpYla1cGlvgnlyAsZqV9D+HLwwS4o6Pvng3U/04juVO78on5zxxztrjCP1YFRZHROxENfl3ySv8m4B8SuoEvZ2e4RYyMfJo5XKNvztIcv8FkBP2qXEuYlJmZ+OWTdykUil+9/CYnFmyCiph+wXHe0EU6GSXicgjjg== 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=1CJRXOFuFvKygZo+k0uoDfv6/DzZtIVokulAJRI8oK8=; b=Yfj/BpV7/Qa32BRoRxRkyKkuZmQ3/O2/sJlaZI476vmeMRMmjdwv7WBlzzntWoDdF6Bc5jhjy8dFJj92j9U/0iqXgexMJZT7bQIxjQiPmBnHXPw5IRgLcfV8s1UwXaPk6CrKJOcOgUxX1CoMkMSEHdW/sBJxuTzht2KxQu/ulHDn+K2yGD4bv4tfpBtYDEls302ZlSX260bEMMmbG2q7i4kGn4oj2iYNTyFrYxqgM7Hdxpv+HSGEPVY+ldHG9umt8JcKkzbi1HdhzeVxuBcAGhbqVq0zgIj+yTJQlr2dlMo/1PVREQJVPGB/k1SAcZS9RQuis0i932jbiSvABR7m7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1CJRXOFuFvKygZo+k0uoDfv6/DzZtIVokulAJRI8oK8=; b=XCx5TWiQzhUNx5v7UFvG9HyDe7ujrbWBRtK+ccGH13ISkz4HIZam3u9WThCMxauK+bl1V1fyfh0nUirgIECH/cd8ehyFiQy8zGP0o5BLhePn2YELBHFzjyXe13Y2I/i9ieVGLb0k36rC2LUo5NuSpF9XUO6k4FZ06r9vBedBHgs= Received: from AS9PR06CA0407.eurprd06.prod.outlook.com (2603:10a6:20b:461::14) by AM6PR08MB4900.eurprd08.prod.outlook.com (2603:10a6:20b:cc::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Tue, 12 Jul 2022 14:31:49 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:461:cafe::4a) by AS9PR06CA0407.outlook.office365.com (2603:10a6:20b:461::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 14:31:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 14:31:48 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Tue, 12 Jul 2022 14:31:47 +0000 Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Tue, 12 Jul 2022 14:31:46 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v5 7/8] DynamicTablesPkg: Update ArmNameSpaceObjects for IORT Rev E.d Date: Tue, 12 Jul 2022 15:31:40 +0100 Message-ID: <20220712143141.18516-8-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220712143141.18516-1-sami.mujawar@arm.com> References: <20220712143141.18516-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 32d69921-2173-4845-3d5c-08da64134bad X-MS-TrafficTypeDiagnostic: AM6PR08MB4900:EE_|DBAEUR03FT021:EE_|AM8PR08MB5730:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: XVoMvUKETLc34KYBOTMjtvVHXhOImf423PAkT45Tp8MxY0QKd7OQxnHzSvW/WdeojUaSH28ezCvLL5MpQQfx2UQgLkvDfEbUk2yR9qwEeGRXEN+y0t8h7+ytdXjaHgE3bMw82Xc/kFM58gn1zPD5FbBbBN2brXshgg0qsKhpYgzU1k/8reUo72wudRdaiUKW4uWGkl3gvTxu/1rRLM7N0bubbU65JYfElnyZJUpXEekaATpwNsQ2zu6ib5FqzXofVe14YwqB2t0TXpIXG3iRLt54OPtNW7cXnGxSJxEn0+8E+gnoLiaV1CV9O/IgfKx+UKs9jW38ganjsitnVZcHkYs0ktDY7RCjrq/in/20QL0l05lgAqiitKKZFHicXLhnZc8N7VpCPI3MiyknnYHuvvcy9zrD+evGWhXt9uivfsxIwT9fFb605ra/9R4ekTeBFWs9Nc3Xwkij1awrWtnPnUXSYeFUzBIUR2BhI+qV6o1KC0RgFmmcycHI6E+onuBDo3AZhW3Lq/afeOxrWHS4KR0ZGD1NaBTy/PE2Nul4kjm7SKOAxRUpcfUd7bnmAakhPa0iuD9tAckFkY78R5BT2zG5FNNqOjs+L8tdP66a3806XEh4FKDe6p5j/2ouEvMc+AU+aMXO9gkQURUZNw9zwMwTrnLehZu0NNttdsb52TIvRFU4f9rIf9zghW2eMmNF3DE248MSW/cyElsbtj9usuMoOl9DA1FG6Rry81WHe46pdlVynzZg/Jr7mAIeUTrBL69jdEYIMG3zrb0JydQnONvzGZM0PVwECRTJxTsgikCT6o7h7xmrZNiP1uNqzqV3xk/h1dSvUkd0AwqCvIv8yD86GkRxHXiomu38mDdotr08XF3B5J5gLvsL9aUXikWiG1nKbDN+A9Y8Z4IMHs2iNZLkiRZQr13tfydgTuvXae4= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(396003)(346002)(376002)(136003)(39860400002)(36840700001)(46966006)(40470700004)(40460700003)(2906002)(7696005)(478600001)(8936002)(6666004)(41300700001)(8676002)(26005)(86362001)(82310400005)(15650500001)(1076003)(966005)(47076005)(81166007)(186003)(336012)(40480700001)(70586007)(2616005)(19627235002)(36756003)(356005)(83380400001)(82740400003)(54906003)(6916009)(44832011)(4326008)(5660300002)(36860700001)(70206006)(426003)(316002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4900 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 99968c24-ed30-4684-f7b3-08da64134157 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 673pVd8zpB03p/LAV0x2vCLYP/RolwIB3jIG4bGR6MQfkXP0/hUYm28IITxvtMZtGVKpmxdlXPJT8NmfQSFkMIjI+Xd5apuSYomqfUIt/IF9G3Q56LZDv9tYP3LXUIzdh10JjLx9rySBlqpycZ5XjudMA9SiXCyz81LV50ZNKlmNeqq1mCbI56Dse/pzL7BI8mbIjm4tdA4hn47cFakzqWOG1EXVGu32OToPKNNWO20d39eHPxvFSfzt6GX5wIfsm4VCq1qK9urzioaFI3on1EblTf95ejIugEaV6AKrgtNv3t5oHNV/cZqZBVjUTgoiu3f9ShlxBsywDb1MVr0etcioljiKyv/NJzzuEwBg0TUdM+gHVl1i5xtTmaKi4dRFWNklzfLHJ6fEaN77aqYQTyjy3FR5ZqiMbUiTmR3kAPjkW4MrbNqbZc0se9aM5y0qZYgePMnQUrCL/EIqCMQkP7na62Q+4mwxo0228EJm9V72DM7eLET6pyONcXicY9y86GjD/rwpH+5xXdrG0ZAuI4LAaBO3zVBRxeWoEMVHucgzu/cn711CXJ3f2mZ1JTG7aTEbWTNXfB6kWTnTY/SfEEfrb7YL+dplDJvMWoSsRUu+8VT+kj+aom/u91UWZgiC2KFGoDvjf0zvYnpDylLiKvru4Ao9rycahdstPLKd93WhcjIz5q9oV+ilQfp2fXKP862gGSxxfzpQA2ZuJg7AJDF7OYY+gqKIYMNBmZaKXu1TnFA3quckm+9AjhXkduRhRt+JJR52XSCaqeYwP7KOvkzfW2TtGS3zlLnMUgzEksxco13oDqyldXLyQ8VN0IEbphXnyP2s+W5p6v4swqEEIZwybpP1H6u13NUSudxWZ+KaApEyy6dAJlbmJc4hXOa18CyxXqa2lt5X+emqymMdLg== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230016)(4636009)(136003)(39860400002)(376002)(346002)(396003)(40470700004)(46966006)(36840700001)(44832011)(426003)(82740400003)(5660300002)(186003)(81166007)(40480700001)(336012)(70206006)(83380400001)(47076005)(54906003)(6916009)(4326008)(19627235002)(70586007)(36756003)(36860700001)(2906002)(26005)(41300700001)(478600001)(316002)(40460700003)(8936002)(6666004)(8676002)(15650500001)(2616005)(1076003)(86362001)(7696005)(966005)(82310400005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 14:32:06.2991 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 32d69921-2173-4845-3d5c-08da64134bad X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5730 Content-Type: text/plain Bugzilla: 3458 - Add support IORT Rev E.d specification updates (https://bugzilla.tianocore.org/show_bug.cgi?id=3458) The IO Remapping Table, Platform Design Document, Revision E.d, Feb 2022 (https://developer.arm.com/documentation/den0049/) introduces the following updates, collectively including the updates and errata fixes to Rev E, Rev E.a, Rev E.b, Rev E.c: - increments the IORT table revision to 5. - updates the node definition to add an 'Identifier' field. - adds definition of node type 6 - Reserved Memory Range node. - adds definition for Memory Range Descriptors. - adds flag to indicate PRI support for root complexes. - adds flag to indicate if the root complex supports forwarding of PASID information on translated transactions to the SMMU. - adds flag to indicate if the root complex supports PASID. - adds flags to define access privilege and attributes for the memory ranges. Therefore, update the Arm namespace objects to: - add Identifier field to IORT nodes. - introduce enums to represent RMR nodes and Memory Range descriptors. - add definition of node type 6 - Reserved Memory Range node. - add definition for Memory Range Descriptors. - add PASID capabilities and flags field to Root Complex node. Signed-off-by: Sami Mujawar --- Notes: v5: - No code change since v4. Re-sending with v5 series. [SAMI] v4: - Update ArmNameSpaceObjects to support IORT specification [SAMI] revision E.d. - Add PASID capabilities and flags field to Root Complex node. [SAMI] - Add flags to define access privilege and attributes for the [SAMI] memory ranges. - Update DynamicTablesPkg.ci.yaml to add PASID to the ignore [SAMI] list for the spell checker. v3: - Move Identifier field before Flags field in [PIERRE] CM_ARM_RMR_NODE. - Add description for CM_ARM_MEMORY_RANGE_DESCRIPTOR [PIERRE] field. - Updated based on review feedback. [SAMI] Ref: https://edk2.groups.io/g/devel/topic/83600723#76659 v2: - No code change since v1. Re-sending with v2 series. [SAMI] DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 1 + DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 66 +++++++++++++++++++- 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/DynamicTablesPkg/DynamicTablesPkg.ci.yaml b/DynamicTablesPkg/DynamicTablesPkg.ci.yaml index bfa282926e48c79ea748b12dee19a322197eaed1..5addf8626841fe35dd0d499a277cb7308787fee0 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.ci.yaml +++ b/DynamicTablesPkg/DynamicTablesPkg.ci.yaml @@ -108,6 +108,7 @@ "lgreater", "lless", "MPIDR", + "PASID", "PERIPHBASE", "phandle", "pytool", diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h index 91bef9bccd1978b0e396f423cff81e621b05e0ea..102e0f96beb22cc2b93c1525bef62cd4173774eb 100644 --- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h +++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h @@ -1,6 +1,6 @@ /** @file - Copyright (c) 2017 - 2021, Arm Limited. All rights reserved.
+ Copyright (c) 2017 - 2022, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -61,6 +61,8 @@ typedef enum ArmObjectID { EArmObjLpiInfo, ///< 37 - Lpi Info EArmObjPciAddressMapInfo, ///< 38 - Pci Address Map Info EArmObjPciInterruptMapInfo, ///< 39 - Pci Interrupt Map Info + EArmObjRmr, ///< 40 - Reserved Memory Range Node + EArmObjMemoryRangeDescriptor, ///< 41 - Memory Range Descriptor EArmObjMax } EARM_OBJECT_ID; @@ -477,6 +479,9 @@ typedef struct CmArmItsGroupNode { UINT32 ItsIdCount; /// Reference token for the ITS identifier array CM_OBJECT_TOKEN ItsIdToken; + + /// Unique identifier for this node. + UINT32 Identifier; } CM_ARM_ITS_GROUP_NODE; /** A structure that describes the @@ -509,6 +514,9 @@ typedef struct CmArmNamedComponentNode { the entry in the namespace for this object. */ CHAR8 *ObjectName; + + /// Unique identifier for this node. + UINT32 Identifier; } CM_ARM_NAMED_COMPONENT_NODE; /** A structure that describes the @@ -537,6 +545,13 @@ typedef struct CmArmRootComplexNode { UINT32 PciSegmentNumber; /// Memory address size limit UINT8 MemoryAddressSize; + /// PASID capabilities + UINT16 PasidCapabilities; + /// Flags + UINT32 Flags; + + /// Unique identifier for this node. + UINT32 Identifier; } CM_ARM_ROOT_COMPLEX_NODE; /** A structure that describes the @@ -579,6 +594,9 @@ typedef struct CmArmSmmuV1SmmuV2Node { UINT32 SMMU_NSgCfgIrpt; /// SMMU_NSgCfgIrpt interrupt flags UINT32 SMMU_NSgCfgIrptFlags; + + /// Unique identifier for this node. + UINT32 Identifier; } CM_ARM_SMMUV1_SMMUV2_NODE; /** A structure that describes the @@ -615,6 +633,9 @@ typedef struct CmArmSmmuV3Node { UINT32 ProximityDomain; /// Index into the array of ID mapping UINT32 DeviceIdMappingIndex; + + /// Unique identifier for this node. + UINT32 Identifier; } CM_ARM_SMMUV3_NODE; /** A structure that describes the @@ -639,6 +660,9 @@ typedef struct CmArmPmcgNode { /// Reference token for the IORT node associated with this node CM_OBJECT_TOKEN ReferenceToken; + + /// Unique identifier for this node. + UINT32 Identifier; } CM_ARM_PMCG_NODE; /** A structure that describes the @@ -1006,6 +1030,46 @@ typedef struct CmArmPciInterruptMapInfo { CM_ARM_GENERIC_INTERRUPT IntcInterrupt; } CM_ARM_PCI_INTERRUPT_MAP_INFO; +/** A structure that describes the + RMR node for the Platform. + + ID: EArmObjRmr +*/ +typedef struct CmArmRmrNode { + /// An unique token used to identify this object + CM_OBJECT_TOKEN Token; + /// Number of ID mappings + UINT32 IdMappingCount; + /// Reference token for the ID mapping array + CM_OBJECT_TOKEN IdMappingToken; + + /// Unique identifier for this node. + UINT32 Identifier; + + /// Reserved Memory Range flags. + UINT32 Flags; + + /// Memory range descriptor count. + UINT32 MemRangeDescCount; + /// Reference token for the Memory Range descriptor array + CM_OBJECT_TOKEN MemRangeDescToken; +} CM_ARM_RMR_NODE; + +/** A structure that describes the + Memory Range descriptor. + + ID: EArmObjMemoryRangeDescriptor +*/ +typedef struct CmArmRmrDescriptor { + /// Base address of Reserved Memory Range, + /// aligned to a page size of 64K. + UINT64 BaseAddress; + + /// Length of the Reserved Memory range. + /// Must be a multiple of the page size of 64K. + UINT64 Length; +} CM_ARM_MEMORY_RANGE_DESCRIPTOR; + #pragma pack() #endif // ARM_NAMESPACE_OBJECTS_H_ -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'