From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 411927803DA for ; Tue, 25 Jul 2023 10:28:27 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=PG3r3AC6WTIZaEkc5Wq1daxTxOMizuyJbSJ5F2w9MPw=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-Received:X-MS-Exchange-Authentication-Results:Received-SPF:X-Received:X-Received:X-CheckRecipientChecked:X-CR-MTA-CID:X-CR-MTA-TID:X-Received:X-Received:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:X-Received:X-Received:X-MS-Exchange-Authentication-Results:Received-SPF:X-Received:X-Received:X-Received:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:X-EOPAttributedMessage:X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id:x-checkrecipientrouted:NoDisclaimer:X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam-Untrusted:X-Microsoft-Antispam-Message-Info-Original:X-Forefront-Antispam-Report-Untrusted:X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-MS-Exchange-Transport-CrossTenantHeadersStripped:X-MS-PublicTrafficType:X-MS-Office365-Filtering-Correlation-Id-Prvs:X-Microsoft-Antispam-Message-Info:X-OriginatorOrg:X-MS-Exchange-CrossTenant-OriginalArrivalTime:X-MS-Exchange -CrossTenant-Network-Message-Id:X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-FromEntityHeader:X-MS-Exchange-Transport-CrossTenantHeadersStamped:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:X-Gm-Message-State:Content-Type; s=20140610; t=1690280905; v=1; b=Xngl6LWMLs/3XXR+nbATFob7qGgBQUWrJAWRR5iXx7ownOiBtFmvzPlTk7Ld+Imo+JzGFqrb 6EqQJi0KOcozZy8wSlwex2DaSrh28ii73ZyZGSjk1A6l4GWxssiRgOeaDa2s77OEsU9YJkguMe1 i4HTxGwCcgenlHHFRpLQAPF0= X-Received: by 127.0.0.2 with SMTP id puR4YY7687511xJhNecQboRQ; Tue, 25 Jul 2023 03:28:25 -0700 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.53]) by mx.groups.io with SMTP id smtpd.web10.17084.1690280903896253649 for ; Tue, 25 Jul 2023 03:28:24 -0700 X-Received: from AM6PR0502CA0044.eurprd05.prod.outlook.com (2603:10a6:20b:56::21) by GV2PR08MB8582.eurprd08.prod.outlook.com (2603:10a6:150:b5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Tue, 25 Jul 2023 10:28:20 +0000 X-Received: from AM7EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:56:cafe::23) by AM6PR0502CA0044.outlook.office365.com (2603:10a6:20b:56::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31 via Frontend Transport; Tue, 25 Jul 2023 10:28:19 +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 X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT062.mail.protection.outlook.com (100.127.140.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.25 via Frontend Transport; Tue, 25 Jul 2023 10:28:19 +0000 X-Received: ("Tessian outbound e1fdbe8a48d3:v145"); Tue, 25 Jul 2023 10:28:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e34b63765977277d X-CR-MTA-TID: 64aa7808 X-Received: from 55a6c6c34826.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BCE14F3C-93DD-46D3-BA7D-7BC96B807691.1; Tue, 25 Jul 2023 10:28:12 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 55a6c6c34826.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 25 Jul 2023 10:28:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=joiomtimrQ8qH/A8cLWBPr6RQmsGKFPqO5U4pBQ8mq4rPAQCpbONjxGBqhK00ob2v4llQVur0LnkG0JMXO35fg78RVfc6lNZV4YTQtJQE+B8Gvq1BnrIesyBG3d6VungMUKrHw+asM+ZoQMhYxJ7KabvkHRiAIWe/h2zjHHus1LlqxZZq9otWaPsRhgQ52RzChhwu+z2GW5SsTQLl3mxHbgGPEHZUHLrBX+2Ew4uuzb8Eb3l+saSuu6pIUY7SkHXKDprGt4aHXIU7BJy0M6pjiQlcwDjWFrq7Rf2120oanI4mvB2kKKf+9x5giYQKPhbxLa1l70YNcg1KhB0o9oEOw== 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=rMbXP9TlAK8DLmJ0Ef4OQP7enTLo/e+In6/GNJTWk8U=; b=QYwmatq1R/T8nKT4YXOun1jbyusaoDus6wd9YCqoKyDgQrezelZnGVGeiHcTuw1T18RArtV6nVMVN7IHFBDrpgPGL2viYtiFDVcmw3A/cY8WLxTi7AZwLkAoCDrLoeOKXZYvtJ/aStUONa9fAnN9PaOIfyw1G3EkFxGEcnG8cqPhYVK/r3CdRdjDqCRTA0H1lSQzgggMKP7sfeQpK3Mc+ZIhagomA/hzWj+cB+4ibE2Dl8jT5iYF3N2PUAaBRmxS86U5ezJpd28lYwnQYBsROj7ZwiHC0gT9TTwi/Evzn8Xvh6CDbIQ3+8bHKfMlEQIjkeRalyUi607c9hRoRTLZBw== 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 X-Received: from AS9PR01CA0011.eurprd01.prod.exchangelabs.com (2603:10a6:20b:540::22) by DU0PR08MB7691.eurprd08.prod.outlook.com (2603:10a6:10:3a5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.33; Tue, 25 Jul 2023 10:28:07 +0000 X-Received: from AM7EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:540:cafe::e6) by AS9PR01CA0011.outlook.office365.com (2603:10a6:20b:540::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.33 via Frontend Transport; Tue, 25 Jul 2023 10:28:07 +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 X-Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT004.mail.protection.outlook.com (100.127.140.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6631.25 via Frontend Transport; Tue, 25 Jul 2023 10:28:06 +0000 X-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.27; Tue, 25 Jul 2023 10:28:03 +0000 X-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.27 via Frontend Transport; Tue, 25 Jul 2023 10:28:03 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , Subject: [edk2-devel] [PATCH v1 08/11] DynamicTablesPkg: Add an ET info object to Arm namespace Date: Tue, 25 Jul 2023 11:27:55 +0100 Message-ID: <20230725102758.28132-9-sami.mujawar@arm.com> In-Reply-To: <20230725102758.28132-1-sami.mujawar@arm.com> References: <20230725102758.28132-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT004:EE_|DU0PR08MB7691:EE_|AM7EUR03FT062:EE_|GV2PR08MB8582:EE_ X-MS-Office365-Filtering-Correlation-Id: a21fa2cc-0fd6-4431-620a-08db8cf9ddc8 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: SwBksGI5N94B7cMCC/XsNasMme4HkZlCqK7M8ZIjK44vVAHYIdVxXgvoO5dBuwQ4gkrDIGaHtx0ekOVeTLgJUCLnVit9l/QbfXMU/aMIcrK/C766ihaGDiDVTicqq19aMMYJc5iNzyWQqk2HHDkOhuc6xTU6gjQxfDAU9C6DaNA6xYraOcPvKnSr5h/la0Bxh+DyrbB+YVNdagE/NJp2uD1XKN6esre4vIhWFMFb4jMO1sjXc/27mqNWZoeNI1OnzFL9lLKfUCw39pr8Oool3z1kalQSDvKyA5HuZ3atMxcCOxVKoKMn09S1TMcHNOw7jHFcYwsZ6g68FOTOnjlGwrcaSMYQWhS7aXlh05F7xWFZjow1mvBa0vPI9uJSazn+RCiI+p5y9s9HVPleXZokARQ7J3bKRNj6iexI/LoWN60XZxazu4+8bOS1oPwv+f6GoW3b7TPZZVnKso1y9/by9exS7UKqHe9wjAUSpQLxn398/vKl2Aj6ToNMPlVpVP52W9JEPr92RoSxhn7KvOLyQiX/32VYaGy32ekcpLqosL4yMDS/Xa+NPig9vrTedSXHNDPlqaPMCOLBjvCom7LhxxQFbqmovH+W12FuypDG0hXmahjakJVYjWkb+fjx95kwCPbrEQq0hyr7GiOj2w70H516w1K1FLyVlBayMSs+9KCropLwiits/SxJCVzCAviLExD6Hx0fMu+WW9wY03+kSQGdfX4QNDf2gPeIUKe/Q2GTlQXz0Ig5WS0eCQH9ohMkjneumVe3YM0wfqAX9Ts3RU/kHslNaSrNnceApwCPss4Y84dsRQQOv4gwajgyXnQk 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:(13230028)(4636009)(136003)(376002)(346002)(396003)(39860400002)(82310400008)(451199021)(36840700001)(40470700004)(46966006)(40480700001)(40460700003)(54906003)(19627235002)(81166007)(6666004)(356005)(478600001)(7696005)(82740400003)(41300700001)(5660300002)(8936002)(8676002)(6916009)(2616005)(70586007)(4326008)(70206006)(316002)(426003)(336012)(36860700001)(83380400001)(186003)(47076005)(1076003)(26005)(86362001)(36756003)(44832011)(2906002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB7691 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 3b62db34-d0a5-4a3f-74e0-08db8cf9d5f4 X-Microsoft-Antispam-Message-Info: KQK3uG41lQwrWVKEHoPH+Q220qIClDz2bqBNKp3QCGJIxasLFUhPqfxxqzQSmPpA2txw2GVf1hlECEigoNkmTyBbJ9r2boFZf8ZnzXmYD+TDjJkQh36rzr1BIe9TkxPw3KrHbfhnLNR5ZHAXT43CblZ8i1hBdQu48f8/og1RWxcoYnApFKYKQNoO2nyziHFkY0NIla2AxOSf6mcIHMaiBsS3pLvRbRSw47/LAMR64/oxpS3Q8Cx9yXcI73jt94amMXAxlX+SR3SwiUPmaOyXyTcJsmC7DCxk9WTVWji6U3soeirgQyeZD1blXs/6MfuUq84hoylU7ZmBADwhiMZiwqT7yP9Pn0b0n7PTzsGIgCIrWL1QamfIKrlHcgBQ5hZT+bik+QF8YQJC6cIlzkXUc+Q/Tk0MEMYiNNKfojm0TE0uSc39Naqnxn/j4bibTl6bGLmbkqR4rxFn84JF6FvJqgH9EuhxedKF/tbft7IbI6iOWWUyuMbx2ZoaYCxCLOfkd3oqaaHqnuxt5fcvcAzpcg3Nfp5rljhL6iehNC/pS5II2qtvvqst0aTRi2djIJd1bK69T5bILOeCxyi3f35+2mWuHj2cXLete2yxbCnKaIpewi6tjKyfZSPI3zpWhH+csXI/k31NfCYnCOlRvoGdVrUvfc8/WkMi2mQ0GNbhxLhTEML5rBEyIE2gEzNG4Yrgxm9X8znYbDB5WPu7r2QpOaqEE62wfMuDhUfOabQkoWw= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2023 10:28:19.7918 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a21fa2cc-0fd6-4431-620a-08db8cf9ddc8 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: AM7EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8582 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sami.mujawar@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: mcuAsJ0WTJYdC9tGo08cB3j2x7686176AA= Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Xngl6LWM; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Add an Embedded Trace (ET) info object that can be used to provide information about Embedded Trace Extension (ETE) or Embedded Trace Module (ETM) available on a platform. Although ETE and ETM share the same HID, ETE has a system register interfaces, unlike ETM which requires memory mapped registers. Since this patch aims to support ETE it does not describe any memory mapped registers. However, required support for ETM can be added in the future. Signed-off-by: Sami Mujawar --- DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 25 +++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h index ca02970d7a177968c77ba7ae1a859b81d0904ff8..8c00bdac20bb1323d8dbd17f671e0e61886ad269 100644 --- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h +++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h @@ -1,6 +1,6 @@ /** @file - Copyright (c) 2017 - 2022, Arm Limited. All rights reserved.
+ Copyright (c) 2017 - 2023, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -71,6 +71,7 @@ typedef enum ArmObjectID { EArmObjPccSubspaceType3Info, ///< 46 - Pcc Subspace Type 3 Info EArmObjPccSubspaceType4Info, ///< 47 - Pcc Subspace Type 4 Info EArmObjPccSubspaceType5Info, ///< 48 - Pcc Subspace Type 5 Info + EArmObjEtInfo, ///< 49 - Embedded Trace Extension/Module Info EArmObjMax } EARM_OBJECT_ID; @@ -210,6 +211,12 @@ typedef struct CmArmGicCInfo { generating MADT revision 5 or lower. */ UINT16 TrbeInterrupt; + + /** Optional field: Reference Token for the Embedded Trace device info for + this processing element. + i.e. a token referencing a CM_ARM_ET_INFO object. + */ + CM_OBJECT_TOKEN EtToken; } CM_ARM_GICC_INFO; /** A structure that describes the @@ -1304,6 +1311,22 @@ typedef struct CmArmPccSubspaceType5Info { PCC_MAILBOX_REGISTER_INFO ErrorStatusReg; } CM_ARM_PCC_SUBSPACE_TYPE5_INFO; +/** An enum describing the Arm Embedded Trace device type. +*/ +typedef enum ArmEtType { + ArmEtTypeEtm, ///< Embedded Trace module. + ArmEtTypeEte, ///< Embedded Trace Extension. + ArmEtTypeMax +} ARM_ET_TYPE; + +/** A structure that describes the Embedded Trace Extension/Module. + + ID: EArmObjEtInfo +*/ +typedef struct CmArmEtInfo { + ARM_ET_TYPE EtType; +} CM_ARM_ET_INFO; + #pragma pack() #endif // ARM_NAMESPACE_OBJECTS_H_ -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107230): https://edk2.groups.io/g/devel/message/107230 Mute This Topic: https://groups.io/mt/100347372/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-