From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.88]) by mx.groups.io with SMTP id smtpd.web09.4376.1657101413447865910 for ; Wed, 06 Jul 2022 02:56:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=90Pmx48W; spf=pass (domain: arm.com, ip: 40.107.8.88, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=aFqFSFPN6MsiLqcLvi69gnlytuOVxj+M1Dqiq2ZgGftrYHo06QyaverDyaEd5FqeuuRcEGQkO7j1TmCAidUcctes2xWlDkdIPUxB5+8hCmMM+dqZAMDjiL+UEDvdvuGpGgodWx0fapzURpgT8iof9+1DtO7v1R2RxVjpglAlNtE1OWh3WuADgekGY1+s/PEHxIWSkmNf2xfbQNslCFaqnBR0iX4hpX+NeIEK7nSvfhchqfEArRJF1fPOtdqs7l9YmHNLkjgCVlTPJ9EoS1aUhdQ0xnPM5qD94k1VDEYaqgYPewOFty0aEl6UB6RX3Ap59FG0Kof+an/XtpKLjhFKGg== 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=w6V/uEz50+VHHoVJlaXc2D+2JUGNv4PBNOnOz5bZphU=; b=dwUb1QpOtZY3oBW5IzrsOQsdSVS+c8b3X6YMbMM5Sqb6hlg1nLlcneHIUfGQDX8NDeoZM/vv6gInN9J9Lwk8ua/8gNYXc52rI0paSDAlHMSdmFWN3I5913hR5arKu+JqVvytPmprkHHDVhsHkbpaA9chN4NN+uEOlxe5OdEzeDcd5Xmn/o8iDPLVx6GN5d0XZUfcYdapECASXUTpbZBlkloDBdCZyfXwSq7nb5rVB6rghoFRUdQ76W0Wksw2ufFUro0tYTqde92hy35VVLkpPMNu7zla+8LnBIyDzn4O5rJJt3exdQ4K/70ahtrSlNxeH+d7PYoawGODA2cmf+NzDQ== 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=w6V/uEz50+VHHoVJlaXc2D+2JUGNv4PBNOnOz5bZphU=; b=90Pmx48WoWxR30FkE7g0KPWU3ENlElSmVlxJoIHsZahHxB+cQK59KWNTeevkfFn+wJmoHzR10YxpD3e1TILAeFblt4+G4koUwWpPsagCAxhL6D1qc/Z7qCf2l+ggtpPmcI1mgLvR2DMMS2WpeT73Uf0y+u3s9YjRpTbgcW/OK8w= Received: from AS9PR06CA0253.eurprd06.prod.outlook.com (2603:10a6:20b:45f::21) by DBBPR08MB6121.eurprd08.prod.outlook.com (2603:10a6:10:204::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Wed, 6 Jul 2022 09:56:50 +0000 Received: from AM5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:45f:cafe::37) by AS9PR06CA0253.outlook.office365.com (2603:10a6:20b:45f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15 via Frontend Transport; Wed, 6 Jul 2022 09:56:50 +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 AM5EUR03FT037.mail.protection.outlook.com (10.152.17.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Wed, 6 Jul 2022 09:56:50 +0000 Received: ("Tessian outbound afad550a20c6:v122"); Wed, 06 Jul 2022 09:56:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 300d17b8cbae93a4 X-CR-MTA-TID: 64aa7808 Received: from 28fa10eb1bd6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 748FC650-2065-4D1A-91EF-156F0E6831B7.1; Wed, 06 Jul 2022 09:56:43 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 28fa10eb1bd6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 06 Jul 2022 09:56:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IhNmqGXnc4NtePRoyN+koQKS9uUQdWG0EHYy/AYQwuCTiKszcEwqOFUjf+GWs02r3AVJcC0yWRU3ilOmMwWJQGrG02qBjsrbOrcERhQaY1J+A8ZHJti/PMXRNp1qUU++sgEqXdxmj5hELE6U67ava6mARWL+51Vq/MtBn1/RCIQ23z6Phhgt9tXTm4fNEDBuoBPeUtT33DITKtZ+8ftacxe90PfhLYOhYwbPX2Ls4cnHxqenahSpy8Gxfu4s3yfWXStjVcE+WJqdlgOUQlrzeHNpds6tgGW/TS7Wooko4lceU2QXpg+FpoqhJBnT9YFeI9FB/nYQ4kkgH56t7LvfSw== 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=w6V/uEz50+VHHoVJlaXc2D+2JUGNv4PBNOnOz5bZphU=; b=VVAss3FLPwQsPX5Ukxami6Hb/McFBjux7XUAKg/Wm6HoQFjZgSGCFNLeIGrZvx008hOQhYlYpbbuOtIGFZDi/QIZ7SrYXsIaAQ1ZWr+eBpGGBBIZqMj/QZ9IOhA10x7Ti2DldP38weqVGQSsp1SSRzvUWPisYUwQ/yi3uPRi/uOHu6T6PdnwP+U/sGY6uiKYyFqFXbUtb52Rd5JMPWajeFOV6SknJrIYouE8EIxC7g9GG9EnwFEEvxqOLuTXqA8JHaDtU/sNTnQQi9IsfIJaG12p43WSL/FFdANyVk/wxdNvsWQey260qLLruA/5gIz9tGquRevVBHI29fn3pIYL7Q== 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=w6V/uEz50+VHHoVJlaXc2D+2JUGNv4PBNOnOz5bZphU=; b=90Pmx48WoWxR30FkE7g0KPWU3ENlElSmVlxJoIHsZahHxB+cQK59KWNTeevkfFn+wJmoHzR10YxpD3e1TILAeFblt4+G4koUwWpPsagCAxhL6D1qc/Z7qCf2l+ggtpPmcI1mgLvR2DMMS2WpeT73Uf0y+u3s9YjRpTbgcW/OK8w= Received: from AS8P250CA0004.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:330::9) by AM9PR08MB6276.eurprd08.prod.outlook.com (2603:10a6:20b:2d4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Wed, 6 Jul 2022 09:56:40 +0000 Received: from AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:330:cafe::95) by AS8P250CA0004.outlook.office365.com (2603:10a6:20b:330::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.21 via Frontend Transport; Wed, 6 Jul 2022 09:56:40 +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 AM5EUR03FT011.mail.protection.outlook.com (10.152.16.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Wed, 6 Jul 2022 09:56:39 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2507.9; Wed, 6 Jul 2022 09:56:37 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.9; Wed, 6 Jul 2022 09:56:36 +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; Wed, 6 Jul 2022 09:56:36 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v4 7/8] DynamicTablesPkg: Update ArmNameSpaceObjects for IORT Rev E.d Date: Wed, 6 Jul 2022 10:56:30 +0100 Message-ID: <20220706095631.27196-8-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220706095631.27196-1-sami.mujawar@arm.com> References: <20220706095631.27196-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 15096946-bf8f-46cc-b10f-08da5f35d8cb X-MS-TrafficTypeDiagnostic: AM9PR08MB6276:EE_|AM5EUR03FT037:EE_|DBBPR08MB6121: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: A1m0xXdHJZkmD4U6MRtCxzg2xy/PE8LIEJT/qVwrYN0xPWMyFQt0FIbOSa2+SDdWfIz0MULfwbHz+BWqr1HPSbCrBWZjKdzv3Uenl1H/sPHp8Bd3n8T2A2y9Fw0lz/X4Fx0E8XOpgxY5zDLAzwWTSj4W8pKWGdQpXULWR0ZhAAxeCXBF2fJRbO358eK6+sSFWqwh3d4h1MZjHgh3i/lWB0g97ygZmlyDhfwUKNvsmxyZAOoc+yr46mMRwSXiWWSwa1NRXQC1rAlAsy4fkD4/Jl6fG4Ly6xEqAVc0E1M2XbjUY7AuHcy/rFnwfj3ZMCQ+rg9CV8bvqPHBRrIPiVa1DhwUf5ih/ut38PrHaDLkxLgpeLmglTP80t80NokIEefdMvNxi9xWIQgQP/o/LtY0XjRX7tZ+gwFLp8KiKNvOhnLwC9mzM8oUxaXPB8d3KooKRTp1+v4qUzIvL72btBZOIfOPzYPHhrDi6FoOEFGdTHY27k1z6IYbNLIAadwrCxSxEN7J1CkyLRrJtNSnhHIV4jIXL0z8e4jw74jADbvv/Yib72Qa8yl3se0Cyn5KsyzFk63LNkXccX0VVNJQ1MLZBl+NofHYenIyNaXDDnkyDgCcgBpR7JY7a8ZskDzv6wKfI77nNG550RqzkWAdPWDxBInZc0Z8i+YCxjvhIKYAXO1DYKGR+Dg3XmPA6p6GFKCEEYrtwEfzyAE1TqOkDO88Y0q/4RQwH2efCaQ0xEUOxEizT47bYZfbGzFzrOzZFqdNGAbdJ1072QdSL/QUU38dK88LvHSCQ2MdZsJaIu+KrtNfaY59+JKjoVLfIuIjsm9L0dqauajEV5u3kSRgPKv0RnZi7q6HJWv7hB200NOSeqhEBa24vJz2dg76DTQmR8Th8VyHFw46/jlXaNMyFMsJR6ksau+D3a6z95HAnoUI3zE= 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)(376002)(396003)(136003)(346002)(39860400002)(40470700004)(46966006)(36840700001)(36860700001)(86362001)(5660300002)(83380400001)(2616005)(426003)(186003)(1076003)(336012)(8936002)(36756003)(356005)(81166007)(47076005)(82740400003)(6666004)(7696005)(966005)(478600001)(316002)(54906003)(6916009)(19627235002)(41300700001)(26005)(70586007)(2906002)(70206006)(15650500001)(8676002)(44832011)(4326008)(82310400005)(40480700001)(40460700003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6276 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 8dc4d990-3734-488d-5681-08da5f35d290 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H8n4qxS2QmOTOhQWP9AwRZpkQ8LRmY4eCyUZjNJ7NLSPwVaF2dzFGPoDUOUkhF3mxxBJQsrhrpbD0Nt3aCb4z7BRXqq2CNeLKx1qj1jyDdeGAnxtdzDo4EgC5NKtCtTExafSVkep+Zb7E/KblD+/anqFOJ9L5HbRW6xWisEWX2eE7Wsqx08z1PV5sTKsnFd5zA4gRVOiaCnLXwDsIGNaelSDj8lMNXXXDU/cnGiw1qyniKHdvNK2DkdP8ptcCXRcwdwQrB/jckeIDQmRPIQ0OCHmkPgF3m1JwJBA3CxMRVZJLfjAL98IXxJB9dHRwfmxQlE5KVJjUNdQySX/YQ/OY+SWQrSNjYz5mvK0sb0NdYB69V7rJN0juno5WX01zqMF8K+q66sKeXZB9fM3libYtvZpNTj6yw9O0h5slsXS3235tAshbqYZ1Z2/MmfjhVOBGy8us1MkUR4eh//dofhftih/wzQcBDSgGWmm2bULq+iq5r9lAvVQ54lJ5ZxblIQq21fm3vTZ58RlOcw5STHwVjZjwSdhx8KrBO4+GAdb4+Ng5lNYBwL9GDqQ6jI+lDf5JBsxWdzGBW1rXe0f8cOFjNsSOXOThicfnPAZ1JksE4cYpY4gPDd4YJWnsWwcYWQkYhuMY614oaZlpCb0KKi6A8YsBTQKBsiEPdINH85Cb4dm+SJPQCXDVTw61VsgXINUUFIlo7dCfopdI4jFMebprDLP4PCfBk/3oDIMYdULr9YJT0mtLG5/9Jl2gMHVKZ7XgViQZXJ5Vcp92T6C/9C/eXrpTObkT7ULkJo91mSR9FtQMDgR9BIQHwc1h4ubcgpt8kebH9s1gX4vNwHTrlXvuD4yXJ4SIM6OvWqCusJe/rMJ0EPqXgBXp53e+0oA0cEhmsTXtentzFP/geYe4z/8iQ== 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)(39860400002)(346002)(136003)(396003)(376002)(36840700001)(46966006)(40470700004)(19627235002)(316002)(26005)(41300700001)(54906003)(6666004)(7696005)(478600001)(966005)(6916009)(70206006)(40460700003)(40480700001)(82310400005)(8676002)(2906002)(70586007)(44832011)(4326008)(15650500001)(5660300002)(36860700001)(86362001)(1076003)(36756003)(81166007)(82740400003)(47076005)(426003)(83380400001)(186003)(2616005)(336012)(8936002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2022 09:56:50.0542 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15096946-bf8f-46cc-b10f-08da5f35d8cb 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: AM5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6121 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: 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)'