From nobody Wed Oct 16 01:01:41 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108587+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1694609399967265.7649687532145; Wed, 13 Sep 2023 05:49:59 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=L32i4DO5ULP8Axq6z+dtlwJwjU0eZJPviiQakP0GmXU=; c=relaxed/simple; d=groups.io; h=Received-SPF:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:NoDisclaimer:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1694609399; v=1; b=cS338VhIphRE65jTis4roBi9kkjjndUfbcGShVFYHqYBJSooUgtb0VWsiYuy29tP46uf5HtM cCMxRYp7yE4deHLUBME+t5WDISZpYR924rFji6caSvpSusMfiugvGspvWb3M8abZgg/J0QfmOvW yoTtrbwDyZMzBOh6aTN0N+EU= X-Received: by 127.0.0.2 with SMTP id z2teYY1788612xndsKJlYCg1; Wed, 13 Sep 2023 05:49:59 -0700 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.87]) by mx.groups.io with SMTP id smtpd.web11.10981.1694609398813803162 for ; Wed, 13 Sep 2023 05:49:59 -0700 X-Received: from AS4P191CA0002.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:5d5::6) by DU0PR08MB8788.eurprd08.prod.outlook.com (2603:10a6:10:477::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.30; Wed, 13 Sep 2023 12:49:53 +0000 X-Received: from AM7EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:5d5:cafe::df) by AS4P191CA0002.outlook.office365.com (2603:10a6:20b:5d5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19 via Frontend Transport; Wed, 13 Sep 2023 12:49:53 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+108587+1787277+3901457@groups.io; helo=mail02.groups.io; 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 AM7EUR03FT039.mail.protection.outlook.com (100.127.140.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19 via Frontend Transport; Wed, 13 Sep 2023 12:49:53 +0000 X-Received: ("Tessian outbound c99fbc01d472:v175"); Wed, 13 Sep 2023 12:49:53 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e7206a67d60b7458 X-CR-MTA-TID: 64aa7808 X-Received: from e75e61b29999.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6CEEB0C2-9563-4C76-9D62-FA803C0B095A.1; Wed, 13 Sep 2023 12:49:47 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e75e61b29999.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 13 Sep 2023 12:49:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q5eJxHAf937wB83IG+V7D7bJzZ8Yizeod7sO4lJVIf9GWDZd2p0uivqS+gy0Jj4ZY2MNuJnW1bS5zshZ/QxbTj2GrTNae40ejBlirKUHefYm3qEaq/3h/zXcQp1Qlsb3vJHZwdkP6o1+Wms0OYcXjTuL4fjGtte1CWTjB1nXAUr+WwNeqhVM/e5Ba63bw29UU7mzderc1XSvqd3MH6dHosG7e13GFew/iA1qGYTc/MfY8f7hW9X7fZTh7ZqT9G8R6Dz/RjfRAhqGNew27s9wH41zj1FJGdrZotucw56I7azyK5MQ5cg0GTYu8p76ThUgjXn4em4z1r7KCsLX0dlajw== 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=Ty5tbm1Mx8uOgV8iNSH6f2KWNHMa2nfTKc4oQldKdhQ=; b=UpYEjNnUXD92VUrxGwhIszV972dKk7m114J9D4kXpWQXD6jhRcbjHX6jYDiY45mi4UasEsB1g9Z0koLDVUkr50ZyRYeGfBf2YLidzQAQxwlqS5bUIclU8xg6HdB50RDE13LtUTT+kdk5TzlO5z3DoQIgtFBOjYFcNHncWX2A0jqesjIyBGOzQzzlW1KEAS0wqg1jvNc2xWT59kRqS+kNsAUDq/iWQZ+c8rAxS9/UonU+2LKvEazdkk8rPfTC6DdRApPHDkVAp0GDZdf+dsPduPTH4SnxQCdLZ9L0RrMmCDurhmfkgFWskugxC6z/UqhMPPEWCsINVhjTZtIWCUjeNw== 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 DUZPR01CA0241.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b5::24) by PR3PR08MB5611.eurprd08.prod.outlook.com (2603:10a6:102:85::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19; Wed, 13 Sep 2023 12:49:44 +0000 X-Received: from DBAEUR03FT057.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b5:cafe::dc) by DUZPR01CA0241.outlook.office365.com (2603:10a6:10:4b5::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19 via Frontend Transport; Wed, 13 Sep 2023 12:49:44 +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 DBAEUR03FT057.mail.protection.outlook.com (100.127.142.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6792.19 via Frontend Transport; Wed, 13 Sep 2023 12:49:44 +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; Wed, 13 Sep 2023 12:49:40 +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; Wed, 13 Sep 2023 12:49:39 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 08/11] DynamicTablesPkg: Add an ET info object to Arm namespace Date: Wed, 13 Sep 2023 13:49:32 +0100 Message-ID: <20230913124935.38768-9-sami.mujawar@arm.com> In-Reply-To: <20230913124935.38768-1-sami.mujawar@arm.com> References: <20230913124935.38768-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT057:EE_|PR3PR08MB5611:EE_|AM7EUR03FT039:EE_|DU0PR08MB8788:EE_ X-MS-Office365-Filtering-Correlation-Id: 89959120-e2e8-40fb-ad98-08dbb457ed20 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: phucabhPUyUleDysQkmeluEvKv8wtvjsFdM+AtVungJp1kBhfwjy/OJUDwCGhiuV0Qb1Nw9C7+UTVPwLR6nELI+OB4g9OsaeeDaC7jmRBkB6p4ufWarONnf+Mbm8F0uwqao7FtogcLafoNj9e5buD1vpoYrMkXz+mLPiKueeGhkQNPERFltWlTgjOuuto6JRi2MMjydjXlsIlNRRXBYrCopwJtK6gthMOICPap/GRNSTJ6NP6WXL7qYOIaTnSZBue2MvxCyKpkq1vCHoKsE+Bbij7OTRoK5sxzs9hfDHN4ZTZc9+0IEtDhbN2P/KzqeqWUDUBvPHHFJ4PqF+I+Y9UAxCsVKdASrP2OTm2c0OVwUBpIE9ML88ArMTpJy921Kg/WBV9GfFc01bZPyLKbVdWGjNDdzr4LcDKRZShTcRK9Vs08vwIH111yUdRLiehC8Y1syDwNB6yGcduRJqG+aCUBfm0S7fPTyKZYQEnWEmDPl94IxFNDhijeYb7ERGxVIVy3M7T+PnykyxceDVW5M/bh+10H4cClyfb9t6FX8ziRMqMV4Q860DLLudgt1WWYxWrdqmyJZ87aAmxwoJGcj+Hc+8pqBwiNT3ANg7Fbv++Qk8uFpBZNn9ig4KcPOqTLl/hJ0t5KLL0sV0QNOTPSDCWbUsz1dWaz4k5BLTnMF9kspW2Ur5xyEbf0cGjbc9PpwkI8bfbOy2G5ub3BmTznx3ghUVW+frQ1BinF/nUHxKkK8QDx21ZkhiOez+kp9nhSzvXOCrKfToUMetrXaLJIOYNw== 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:(13230031)(4636009)(396003)(136003)(346002)(376002)(39860400002)(451199024)(186009)(82310400011)(1800799009)(36840700001)(40470700004)(46966006)(336012)(36756003)(8676002)(8936002)(40480700001)(4326008)(40460700003)(6666004)(81166007)(82740400003)(356005)(86362001)(5660300002)(7696005)(2906002)(36860700001)(70206006)(426003)(47076005)(83380400001)(26005)(70586007)(41300700001)(316002)(2616005)(1076003)(19627235002)(44832011)(6916009)(54906003)(478600001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5611 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 4fcc1b94-6cc5-48f7-6eb3-08dbb457e783 X-Microsoft-Antispam-Message-Info: 0zptjFje0VjADdANqphmvj/agS5wvxWj4TTUNaXjXuhomzM2e7Rnp69EUmz9Fz6yAXfurJLAElo4jAbkTNucWz+dEFIHrQFi+8Q+OVD8JX3FLsL/cVmEOAuV/OGAhRKEp9yIjUsE4a558HxZLj6oVbpGI/MLQYEogLsg5TpcqIhEcZI1IL9s5OUx4zibLKwoKY6kzm5TFYbVsb1LiYs8ZVnnVHW9l/6eHdsZyiNv1i0xgFVYzYMhJfAdD8CaMMeppgLfJlHhOD+Q6HmEDwM/wIZcZ0gwuon9D8qWHSVDUgTcam1fOiCuitOFcxeZRz4rAoBJ99hVsBKBSRhd7akQkkWpOlMAyKMmNYZC5ipkz4uCqi4Be+rw7SpBMsTM4gpYmP2W1Bj8l/tNtavNc2Df5/4XwwVyAP6TWPp8er3c66i4uiVfOzCriJYPbi2nne63TGHze+kMjxwie2WUoqXsRlo7pkcIZaLt+7aL0LDfQiswEyQUuxr3uisj3U1iOxm0s1w6zB42vfqHUjUMpl9ATwg61HvGlbTl/dGdpNaVVrLO79DHi+GRz8JJxCcVyNhhMbeJCsZC75fTrGx/8OXH6DrHob+JtlJOmghV2Kctqof5YMj412iWjmOYToVprzgzW5uAXBU3KMlvS/RgR/RwLVmY8v6lfSHwksdYCErKunGL202gA4x6pnqhA9zNp16mI718GG40gpTVtgdqgLRWLTZKzOWwT+vUIetKayr52OA= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2023 12:49:53.5928 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89959120-e2e8-40fb-ad98-08dbb457ed20 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: AM7EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8788 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: 4g0B8h0yvLx4riiKN3J5Zh9yx1787277AA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1694609402180100023 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- Notes: v2: - No code change from v1 patch series. [SAMI] DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 25 +++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTables= Pkg/Include/ArmNameSpaceObjects.h index ca02970d7a177968c77ba7ae1a859b81d0904ff8..8c00bdac20bb1323d8dbd17f671= e0e61886ad269 100644 --- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h +++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h @@ -1,6 +1,6 @@ /** @file =20 - Copyright (c) 2017 - 2022, Arm Limited. All rights reserved.
+ Copyright (c) 2017 - 2023, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -71,6 +71,7 @@ typedef enum ArmObjectID { EArmObjPccSubspaceType3Info, ///< 46 - P= cc Subspace Type 3 Info EArmObjPccSubspaceType4Info, ///< 47 - P= cc Subspace Type 4 Info EArmObjPccSubspaceType5Info, ///< 48 - P= cc Subspace Type 5 Info + EArmObjEtInfo, ///< 49 - E= mbedded Trace Extension/Module Info EArmObjMax } EARM_OBJECT_ID; =20 @@ -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 f= or + this processing element. + i.e. a token referencing a CM_ARM_ET_INFO object. + */ + CM_OBJECT_TOKEN EtToken; } CM_ARM_GICC_INFO; =20 /** A structure that describes the @@ -1304,6 +1311,22 @@ typedef struct CmArmPccSubspaceType5Info { PCC_MAILBOX_REGISTER_INFO ErrorStatusReg; } CM_ARM_PCC_SUBSPACE_TYPE5_INFO; =20 +/** 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() =20 #endif // ARM_NAMESPACE_OBJECTS_H_ --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108587): https://edk2.groups.io/g/devel/message/108587 Mute This Topic: https://groups.io/mt/101335839/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-