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 A539C74003E for ; Wed, 13 Sep 2023 12:49:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=uMXwfV9Aadu7vLRdbBJIhoerQiu6nLFMYn694IjD/uM=; 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=1694609397; v=1; b=K6KTE2G6CYpXpGAlB9gSDj0YMJvru6Ee05Eb0JrfOK74/qKK/MVWF4rksWbA0N61Gj+/pySV 9biIwF/EAduCncne+xgqvCHrbZztrO5me29zfOHB/GyM+syQ9ueLmljBvx4g5e8z5wqQ+gRxEim OsOE7KJPLj+HzbfLBViAgLvc= X-Received: by 127.0.0.2 with SMTP id gRkQYY7687511xa8193DumHp; Wed, 13 Sep 2023 05:49:57 -0700 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.48]) by mx.groups.io with SMTP id smtpd.web11.10979.1694609396544873211 for ; Wed, 13 Sep 2023 05:49:57 -0700 X-Received: from DU2PR04CA0031.eurprd04.prod.outlook.com (2603:10a6:10:234::6) by VE1PR08MB5790.eurprd08.prod.outlook.com (2603:10a6:800:1a9::20) 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:53 +0000 X-Received: from DBAEUR03FT017.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:234:cafe::5b) by DU2PR04CA0031.outlook.office365.com (2603:10a6:10:234::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 (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 DBAEUR03FT017.mail.protection.outlook.com (100.127.142.243) 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 b5a0f4347031:v175"); Wed, 13 Sep 2023 12:49:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f287db0a54393dce X-CR-MTA-TID: 64aa7808 X-Received: from bb7a3911f55a.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 04B7A929-C407-4EE5-8192-89E8E5B8FEEA.1; Wed, 13 Sep 2023 12:49:45 +0000 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bb7a3911f55a.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 13 Sep 2023 12:49:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=icneLoJ7K+13oruq/6dHHRPN/tSxRI7DpdYy77aD9TDC9vZvg92mWcGPKcdDyX5M4fRROtOsJD0QTSeqHmrEHICUPSiRy6NVxdbojKcZHd28hiC/kXfvje0qLp2Vl51RR5XN5CM0jfBNfnEyUgmH+gOClb+pQ875vjqpXA1JEjUfCGF9CFRGX09M5zZ21gPglq1KUWyGJm4EuKAX2wROav5shESzvAmmbnBLGLR3xcXn+HE4QFI0azDSUN4NaNkYWhzfIRH7soIv1F3Z9zljzAxKEm9UMqZUeiXknTk7ISFtuToeQil3OZEghmjmayn7gCq8qjcjwvc5krXRTY1tVQ== 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=ouFt7ZuXbjJjA+vs8uM7S6bf2xy2tL5XXEcOCkRxtPA=; b=QLy+0HAFrnODq25xbMH/v2AxaN/hoyWoxyZZ9VBfexQYnQ+sdW6RpdGA2xhNaR/1XkOJL3i94iqxE8hY9hOc8A9UfR9JH6B5QDiOT4JE30mesi3ffZEj7iS2SKnez8buR+p4IUuP8itjDUUfgPqb3zN0W2XaX9a/LpeeroiIm3maP4FnHtfpX2pRcjw0FNKvR15KyiAwJZ/59L1WRrpZ13fJ2t8hmoHAq+QsNZeRjG7C0o8EpLe7LbambbSW76KNFitm9PtATThcMIWpWywm7TQr2fKgIdjmdGlTmWfR24UEBltxk5GZ/UwD18szpyUW56fXZoYGfmGj8Aj4LV0e3Q== 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 DB7PR02CA0015.eurprd02.prod.outlook.com (2603:10a6:10:52::28) by GV2PR08MB8076.eurprd08.prod.outlook.com (2603:10a6:150:7a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Wed, 13 Sep 2023 12:49:42 +0000 X-Received: from DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::2e) by DB7PR02CA0015.outlook.office365.com (2603:10a6:10:52::28) 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:41 +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 DBAEUR03FT024.mail.protection.outlook.com (100.127.142.163) 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:41 +0000 X-Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX03.Arm.com (10.251.24.31) 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:41 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) 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:40 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 09/11] DynamicTablesPkg: Add an ET info object parser Date: Wed, 13 Sep 2023 13:49:33 +0100 Message-ID: <20230913124935.38768-10-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: DBAEUR03FT024:EE_|GV2PR08MB8076:EE_|DBAEUR03FT017:EE_|VE1PR08MB5790:EE_ X-MS-Office365-Filtering-Correlation-Id: 3541a397-a2d2-4fb4-b90c-08dbb457ecbc 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: 7iN3/FHbrIsvYhrlVWxgtk1LHnqIt2NsTMUfQOeSoZbBsFGPqSBFmwsHMD8IIOOKgFan8pYNTKx31NJncfvbVr87OXy56fv4pflLZ6qOQ1CeEh486j9LdrTYWwc8bMQfxGdkd0GDWlc+OwDtTKnbbguLJxuioc6RUtyodncE7Le+kPO+vctGyo9Hvp1rW32vYYxFwi59E61hJ+SbQPUMlrnf1HZI5eV5De0w3dnZGpFLuALTl3cuDBffdwFhkENrA4cWjaVot6uy+ButMv1MOABzt7wHyefaqtDyE+uTtbykRAA4VCjyvBtQqHIHHVOx4P51mOlSlcJJ5xR1PTCgBX/hReTAggdftQtr9j8n/L7ZDPjEXsaBxWTlBRLifAS+X4sCFLhORXPMxf5D29MPI31wJVUdmA/mCj8nIPmW2Y+jfwndbrw2mxWYkRgc1JLmrS9wzC1cxI2LWboCPBukFNtld3iclCmUYiYe+qMu3FdQmxY+i49fgXudCqhjBaOK5eqeuBNlSJ6AyWcwTWBZSx0r6/gRHJX2KwX9tgBGA2Rdud548mDtp4ajWRssYOZ/Lvj3DjrmOF1sL0PTiXFpaVodcbtOtS/TBFJ5oAnBim8sf7ryjkMVdqPVUChL8XSCJIHLcL2+LFIlzQPFai7Zou/g8GeGhbuvFdwHLii5H4whJTgesyWo9/zO779BCLPKdiKV22HCJ/ytEh4Ik26tv27LyI1hKnU5+dpva1LzzWr8i4W80ZyNjkGAgwZvfQz4wdJBVCbfGGEPwPkzlxFylQ== 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)(39860400002)(346002)(376002)(136003)(396003)(186009)(451199024)(82310400011)(1800799009)(36840700001)(40470700004)(46966006)(316002)(70206006)(6916009)(70586007)(54906003)(41300700001)(40480700001)(478600001)(81166007)(356005)(40460700003)(2906002)(36756003)(86362001)(4326008)(5660300002)(8936002)(8676002)(44832011)(26005)(1076003)(36860700001)(2616005)(336012)(47076005)(83380400001)(426003)(7696005)(6666004)(82740400003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8076 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 404df188-fce9-426f-4283-08dbb457e5cd X-Microsoft-Antispam-Message-Info: OZ+yu/XdDHHkD97DAPOcf73wY+LJjeJsUHr2+7UOExOxYsczJg1jiYUKQ3ZWQFGiPnO/xP34ejf2bSRKKGK+JoK9V6H7TM+a7ZoDgDJBdjcbtgYuj8Vhnk4kMQkuChZGuYM5LhK9VWMavzb8vO79UlhSnGZPNczgo76Jmb51IO7rfMlooagEba0k1I9vcMd4RQiR0wWlDzPbqJsuEA32gpAFczpshKfImbxOLpzayQ2BinEuEggEXUETIriaVNP4T/lVXC0PWQwxmyY/EqTdY03j6krEwfJTv8aVArrm8r++/SSvUU4VJEJ+P5GJHSPSpsARS+PeuA4O0Y3XS2HRd6ih/yRRdQT8DU619Cr7y4DCFH80NOfR7+iITd53Ahp/CYKTOtTIsYe2k6rr/PtAdIWOCWYlZy5TWvkgSIiuTZOe8JliB84JX2oL7t/ZQ2UnfvcuvWrreW0gaDVhbXJdxRnJuFtwRWyWgFt7Ha+j4cLFohV2v6Bcs5RIS9BbVMmgmm7UxHefCOven2rDe3zXRG/bUqgq7PHUMIZU9V8ufS9bFlCkB8axMAfPAN9+zMT8XuhzSqIexIg64icCtrUAxfmlXPiFaGuYD5HimwSctXeXTrpsVwLT0ZoVvuHRQEkGGzEz3+xYytfBZJX3MfQWpAQcwL3xvunOO5MREslTUSSCYBbcS5bzLx6ki5Y2C0PpGAwN0nxtC9tk/4nRLmHYNVw+coJvOUdyQ+H0dy1UX6Dg5BHuzwZ/io3AWEZ+Iq7s X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2023 12:49:53.0002 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3541a397-a2d2-4fb4-b90c-08dbb457ecbc 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: DBAEUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5790 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: nK3UVKJ7EFMTDLBMPtgf1wXOx7686176AA= 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=K6KTE2G6; 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; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") An Embedded Trace (ET) info object is used to provide information about an Embedded Trace Extension (ETE) or an Embedded Trace Module (ETM) available on a platform. The CM_ARM_ET_INFO object has already been added to the Arm namespace objects list by a previous patch. Therefore, update the CM Object parser to add support for parsing the CM_ARM_ET_INFO object. Signed-off-by: Sami Mujawar --- Notes: v2: - No code change from v1 patch series. [SAMI] DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c index c88586a74945878636955fc8a166a94f7323fcde..145732a21b0704729714168aa420d9988471f512 100644 --- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c +++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c @@ -638,6 +638,12 @@ STATIC CONST CM_OBJ_PARSER CmArmPccSubspaceType5InfoParser[] = { ARRAY_SIZE (CmArmMailboxRegisterInfoParser) }, }; +/** A parser for EArmObjEtInfo. +*/ +STATIC CONST CM_OBJ_PARSER CmArmEtInfo[] = { + { "EtType", sizeof (ARM_ET_TYPE), "0x%x", NULL } +}; + /** A parser for Arm namespace objects. */ STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectParser[] = { @@ -734,6 +740,8 @@ STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectParser[] = { ARRAY_SIZE (CmArmPccSubspaceType34InfoParser) }, { "EArmObjPccSubspaceType5Info", CmArmPccSubspaceType5InfoParser, ARRAY_SIZE (CmArmPccSubspaceType5InfoParser) }, + { "EArmObjEtInfo", CmArmEtInfo, + ARRAY_SIZE (CmArmEtInfo) }, { "EArmObjMax", NULL, 0 }, }; -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108585): https://edk2.groups.io/g/devel/message/108585 Mute This Topic: https://groups.io/mt/101335837/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-