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 AD5F9D806C6 for ; Fri, 22 Sep 2023 14:35:45 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9mnyl+PsMaRBJDURx94M6YNnHoymYcD+5Rmh3NS+YoA=; 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=1695393344; v=1; b=Zbsy/PspCCN24cjo9TPHjMFvn+N1jS39aTOS3FKMutj7S5RfljCG6BAdKJN1eZQ+0/3osPDc nYMJnnfqC47Lsqtmzp13lqs1bOVoMt3s0XmwJTSF+UlbwVkl/oqQZg+867mkBxqQJD1TR9FHp1p 4gzYkPOpq3Y4iT/gaRBlChnE= X-Received: by 127.0.0.2 with SMTP id 8SzHYY7687511xv6mRTdNW3p; Fri, 22 Sep 2023 07:35:44 -0700 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.41]) by mx.groups.io with SMTP id smtpd.web11.23366.1695393339657814942 for ; Fri, 22 Sep 2023 07:35:39 -0700 X-Received: from AM7PR02CA0013.eurprd02.prod.outlook.com (2603:10a6:20b:100::23) by DB4PR08MB9287.eurprd08.prod.outlook.com (2603:10a6:10:3f5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.19; Fri, 22 Sep 2023 14:35:33 +0000 X-Received: from AM7EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:100:cafe::c5) by AM7PR02CA0013.outlook.office365.com (2603:10a6:20b:100::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.30 via Frontend Transport; Fri, 22 Sep 2023 14:35:33 +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 AM7EUR03FT009.mail.protection.outlook.com (100.127.140.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.12 via Frontend Transport; Fri, 22 Sep 2023 14:35:33 +0000 X-Received: ("Tessian outbound 169aaa6bf2b7:v175"); Fri, 22 Sep 2023 14:35:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c65e04a0b6d26ebb X-CR-MTA-TID: 64aa7808 X-Received: from cdeb59b00d1d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 832A36C4-39B6-4F2C-8281-B90132D2C0E0.1; Fri, 22 Sep 2023 14:35:25 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cdeb59b00d1d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 22 Sep 2023 14:35:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lzJaqp6zQiUBY3GKd9u1qfk+UIPItVFCAkNapL6RPDeViyar9yOz4Gb4aaoVRSFRUAU3mXlL8KeBVvrhyaqzu61TV8/L0WIFsIrlS3NEK67tpA+f8iXa8b8Upz1+0NaPaZwlky1cgwTV4rnZq6Dg2amLs/kIq9Y9VBkwxqqTTnmTQ8F07i4+Lm8B412E25meaSRXFh15kVCii1LvBx3rf2p+GG67+AjBqgGBlFOFaxrzbNsMjOE+6a88fwSxRXk+l2kZNQlF7wIQvRFwQ094X88AS+c0SKCG4WmS5uGnwyS3hBRoNKuuhc9pE/C8BNCO9hpT+UivtCy+iF7mRUGSFw== 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=ejW4xvXjDZ7rfDGP4SV4WhR4yQKZieparOoHrT4whu8=; b=j0m/f1QcPnva1R2yPMlERv0Q7xCSTtU1WzUZJfqKjKoOWY9qdUURT4n96peMoWLw05/XfzA86RFO6VxrknjYs6PfebL65ZkuhuxW/tsF0E/zK8/pf6HHnEMuHJniXGycFIXG7EwMgr9D1UoemvL5mNdnBDlX0t8Vb0i45wDJQs/sJdTpaLY67Kln8wblpHo+FPyX5S1+hupXjxc2569d/6XCpKL5kxEVH4smEPS4wyrEh4P9Vf+9pYBpxKREVHacjpzWy7zjRHVL9W/pA6brJzWsyJFanruFNCVeDLd7ELKQCa9p1enaLrbAGeMoHsWxEuxPh1VC7dPzblKWHOzYjw== 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 DUZPR01CA0302.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::19) by AS8PR08MB6535.eurprd08.prod.outlook.com (2603:10a6:20b:336::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.23; Fri, 22 Sep 2023 14:35:24 +0000 X-Received: from DBAEUR03FT043.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b7:cafe::5e) by DUZPR01CA0302.outlook.office365.com (2603:10a6:10:4b7::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.32 via Frontend Transport; Fri, 22 Sep 2023 14:35:24 +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 DBAEUR03FT043.mail.protection.outlook.com (100.127.143.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.14 via Frontend Transport; Fri, 22 Sep 2023 14:35:24 +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; Fri, 22 Sep 2023 14:35:21 +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; Fri, 22 Sep 2023 14:35:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 08/13] DynamicTablesPkg: Add an ET info object to Arm namespace Date: Fri, 22 Sep 2023 15:35:11 +0100 Message-ID: <20230922143516.4764-9-sami.mujawar@arm.com> In-Reply-To: <20230922143516.4764-1-sami.mujawar@arm.com> References: <20230922143516.4764-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT043:EE_|AS8PR08MB6535:EE_|AM7EUR03FT009:EE_|DB4PR08MB9287:EE_ X-MS-Office365-Filtering-Correlation-Id: 8131ff42-0a68-49a7-d79f-08dbbb792da6 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: AK4FtCozH0kNjUulvGA9J3QQsS3ga7/hNiTfj1IiX8RXT3ukzPQpuq0XE2K6i+82avHvOy6j1i4aawag2eyuGtHuL5KBBykFeQ9r1fiONfRcXW0OL9QCMo+UX21uN35+BLfCWZb41aq/zHK/cpnsGXoTilcmV7MCK3eWo/vv+kqlIWCrO30nweMcbes4PLK6AP4+OGHyEz5BtCczfykz1GciOTnQoJmU5E+X67Gxk/2HFr11yp/wPSfGEtPzjFd1QLxtWFiK/U/tutgW9sPTaQIP1m65fKAQ6+hPq081BuizH7cXV7f7BU2L4nZTJqCzG2Ze7cSK0XteApOMW4/iW6onHfQnnKt1hqr/g//AxdwaUFqX0kh3UVhw1OQeDfQb1PedbjwD9rYM+a0FXMaKSPuoeT5GHHUHvJ8PlqjlxRTj/AqiFLSWz/aLc/Q0M2CtEyyTj4ywxUOzDYLTDqonjNeW1KEEvywwNC1nhqBt9HNrtkKRXq/UMAwuZ241m+kFBvrKVKnfLc7jiMTdcg1ZP4M54hnpTrZr01VUT9mXXLtXy+hH/evz+cqC+LOWK2EB9P69ChX5aOUZS0Z8VfB4hJARt7I4e/iwDsdp09/y/egWUZayUUKUWiMhaabRMChcwG/Kpx1/A0SjN1PUlP44/hbyBP0ONujshHKTO/j2eidqCsVwqVkHL1vGUlytfiCUkNTev8styGHDuC8hxC6K29SRoJ3YMrcWkEboqkOFwbAcktgwWdsKBA7fsW6aLEqaCVc/jxcClbwrboAuJ+p5oUGl05OkF3GhJqO8igjmzDf3uypNs3Z0GBFl2wrB50Eh 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)(346002)(376002)(39860400002)(396003)(136003)(1800799009)(82310400011)(186009)(451199024)(230921699003)(46966006)(40470700004)(36840700001)(7696005)(6666004)(478600001)(2616005)(5660300002)(83380400001)(26005)(1076003)(19627235002)(336012)(47076005)(426003)(2906002)(44832011)(70586007)(54906003)(4326008)(70206006)(316002)(6916009)(8936002)(8676002)(41300700001)(40460700003)(36860700001)(86362001)(36756003)(82740400003)(356005)(81166007)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6535 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 63717f93-9d32-49fa-46c2-08dbbb792822 X-Microsoft-Antispam-Message-Info: FF38Xi4HPUpmcAAVlLjxMrXZvhkyCRs8RmS9Aa0VeIJvqLny5YsMAjW7DOuF+8WhOBPECAgA/5ygWD7nsrEcQmVxWpYC1wfg8R+/fhzGmHsjvvPzhniEklVuVq5lSptgGx11vCO0EPbi/6qP8vtPW4IdQVcLtsNKrY4Z/uuXM1gD+IWHNTOjBOF2Puz0AOVm/OCsF1QEQq7fxqgzZQ4q7kNwl6JKShswLNrU5vCCu+/MpeT9l/4/ncEA0tDSvw1HE9hmjJNy3W6D93ZOuzWGBZyP9QmMtTDYkPTzNfsPP8HMEm6tlRNRARBhZP385muZ5dGTnfrrJbXOpWLd8o/F/4K2fCfavSuMYDHPrdkFbCYJQln2Y869VThmB2f1BDAGPB1aQhuTQe9Muk5UgH+jKsP1kUzMkicKalU746b0nUFo/JKVpYbj7Saj4740vBv2znMDSTFZha5jd+E+3vByz/zE0yDD+CLhhVZLW2NP6L3SjKHKO/otGG3P4lzCcFlDbYKBR9azaP2T0iJoJzDRqN6goRyi1inEyAlZRvzABjrirrwLzE0tb9Kx3bZTjbAbsWHvst6KQQXAnBO+zpVOY8WRsjmSxYkHTUxkP5fxIqTbXkQldTjLJli7TKNRgmWdqYxgSsm5frj2FiEuRo3C/qAHexLaVGATjhiEf71PBUduWA0p1ZxnN/awuzspbTsRhzIw8xhXu/jnfN8gmnoGxszVe5INocLl1rEMzyF5ivL2+nCX3iCByvuE5zOpked9 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2023 14:35:33.3778 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8131ff42-0a68-49a7-d79f-08dbbb792da6 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: AM7EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR08MB9287 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: 809yRXIdyeQy3IO3ag6qILtAx7686176AA= 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="Zbsy/Psp"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") 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 Reviewed-by: Pierre Gondois --- Notes: v3: - No code change from v2 patch series. [SAMI] 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/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 (#108998): https://edk2.groups.io/g/devel/message/108998 Mute This Topic: https://groups.io/mt/101522264/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-