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 90DDDAC17B0 for ; Fri, 22 Sep 2023 14:35:49 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=KPbXujfBhVztb8o6Y4y+5lOWFrzzT257j0bwMj2Nm1U=; 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=1695393348; v=1; b=H0C0CI5m6LNSyJl4Xunid/l8amKpkCw61XWoVTPS1Ke6Sa2Uj3E0Rs/vfcVOUl8ZAyTbt5F1 FAf4PpDeo/aFzrrIfLHPC2XPtsblVnS113xq0+u9RpgVZ57wF6GcnoPvp+GojQYnw9bTxaaeeHm yqRVG/pEea+vxrH3vmsxkWrE= X-Received: by 127.0.0.2 with SMTP id XjnNYY7687511xAnSlTU02y7; Fri, 22 Sep 2023 07:35:48 -0700 X-Received: from EUR02-DB5-obe.outbound.protection.outlook.com (EUR02-DB5-obe.outbound.protection.outlook.com [40.107.249.89]) by mx.groups.io with SMTP id smtpd.web11.23371.1695393342118771586 for ; Fri, 22 Sep 2023 07:35:42 -0700 X-Received: from AS8PR04CA0134.eurprd04.prod.outlook.com (2603:10a6:20b:127::19) by AS8PR08MB6278.eurprd08.prod.outlook.com (2603:10a6:20b:29a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Fri, 22 Sep 2023 14:35:38 +0000 X-Received: from AM7EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:127:cafe::61) by AS8PR04CA0134.outlook.office365.com (2603:10a6:20b:127::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:38 +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 AM7EUR03FT060.mail.protection.outlook.com (100.127.140.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.14 via Frontend Transport; Fri, 22 Sep 2023 14:35:38 +0000 X-Received: ("Tessian outbound 5c548696a0e7:v175"); Fri, 22 Sep 2023 14:35:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5a615b705782ba3c X-CR-MTA-TID: 64aa7808 X-Received: from 4363e537ff2f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DFD631BC-6F4A-415F-A521-966F5D0C71E6.1; Fri, 22 Sep 2023 14:35:26 +0000 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4363e537ff2f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 22 Sep 2023 14:35:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ge2+xLmN/Nss4Qw7o+X6vAFFRfZDINf9O38s3g8Tm243+BcFhJtLZCeHvwnMhCqKxlpSyYA5xjAC3aYU7TFhTUo8bh6LYE+V5OnxlHRm07nyVRyX2LmUbYpsoiqmCvyja8umiKLDeZwZYAYKXuG5bFK6wDy4Hn1NY7Ad7CP8DuBxD3jfj1Tbz2+x57NwMfGeeBujsv8hDH/wfnYBzseTB/tk70OYjdsB0ZUEx/Rpjq+bl7dVDP2Iw9ATEHfiLmlCIykPKAE7iuSYXD9We1wnPwLJVBZw79r+qY9H9HeK2AQgVqTjqCIbS/0eXccb4W0gt/QeFlcG8vFyaqMczpjEpw== 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=1Uw3NknpefAdi1S9M5NZ2H6eKmuaQZsEHkKikphn1Gw=; b=OYHRaO94GTK88PL13QXSavgzKHwWMjqJLL/a98axbYMhHpr5tuEW+GR9vcrxc3Qzsj1Zpq5h06lCOHH0Sf7RIjEPJvyrsMrdi9HcAfVu/9g576UqMxncFNLRlkJEtqan/muoHkX95UEgTdwnkntJYN4ZkbcF8+7/btHaMDiGz4j88bhMAP0cotlR/S6bLoo5ITw/DlCqhxPdIe4618PcLqrh1pEf//ov1Y4gYZGYL/SkY+4sgg9DSvaHUtcVcpwpKtEJI0H4jjUaWskNo1wmBDtkaIhXUa0I6eaJvJh3d6M3LO8HulA9OMt0kO/fIL82ebZmZ//iG32Qk14qlvTIyw== 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 DUZPR01CA0299.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::10) by PAXPR08MB6333.eurprd08.prod.outlook.com (2603:10a6:102:15b::11) 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::96) by DUZPR01CA0299.outlook.office365.com (2603:10a6:10:4b7::10) 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:22 +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:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 09/13] DynamicTablesPkg: Add an ET info object parser Date: Fri, 22 Sep 2023 15:35:12 +0100 Message-ID: <20230922143516.4764-10-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_|PAXPR08MB6333:EE_|AM7EUR03FT060:EE_|AS8PR08MB6278:EE_ X-MS-Office365-Filtering-Correlation-Id: a151a67e-cf08-40f3-9ac4-08dbbb7930d1 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: YclArD99e2rQfOosazAI8JAJeeDRRBECpDnapB1W81zF+JRXKo/A0bJIh0sLpTG4u0flsGCDpEKa9MCxP/mzR5O72WVGJ20dj3TTHgOiHB7ulH3d/xWipo0QzmErHadqoTuNQ/1ql8S9T+FFWl+h8SeRHHiosPTOFKf+vUcmWyGGJzK1KoDPKa4QVprXfe3GUmYNa5MKxwN0NijiX2HjY3wqFP8TEms9CbtcTRaN3+FCYwnO/G8UuRCvxVphxQzGIRsus5+Zj2NNGpNApfesN0eJKHVc6ltlou32d95u0PQuE5OOrOjIHyJsr+fKvP1ICTvfXZUtsE59kxGt90e/iZ4oTvBFzbNMbytHKJDl5V8wvDrDGyKmWinYE8ta+5F3F9mjuwdWyheILPDdQ9G24Qaw4w5e8CVn85kG1wTjJUOV+crmUGLqjtYhHyKZeho/HqQEA3wEyOslcJaqvFCAds4jN0m7nXt+Egva4qYk1ipFWdmHwV7j27/y8YH2t/lYJXRqJvpPlrT1GmGe3tqjecCTAIgKzCY1t75JQld8JL9bp3vhizMbIL7hHT/CKikrnjvssLuKkrVfFUZQvmfOFLWQRWQdrcoykTiMBQNZwxsJ/2j160LXiP1ByCg6Fdvtefs99q1PYY+0XVg8VvXWB9ab91clQxFmPMKwY2jM9vWFHZJnLi/emcoSelnI12q7MMS0ADKeyu5K/aSXUHNzEpbzdX1EielwYJBkBa52R5BTehvFFO4Qbdfi6k/uOAth8igu4F5pf4+gVVF8ssVOUGKpicy9oqlQoyAHXye5VXJ7GV6PZjW+GI+NKPFDqljs 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)(39860400002)(136003)(346002)(376002)(186009)(1800799009)(230921699003)(451199024)(82310400011)(36840700001)(46966006)(40470700004)(4326008)(8676002)(8936002)(44832011)(5660300002)(40460700003)(83380400001)(36860700001)(316002)(26005)(7696005)(40480700001)(70206006)(6916009)(70586007)(54906003)(82740400003)(356005)(81166007)(6666004)(41300700001)(336012)(2616005)(86362001)(426003)(47076005)(1076003)(2906002)(36756003)(478600001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6333 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT060.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9290bc97-2e38-4cbd-552a-08dbbb792873 X-Microsoft-Antispam-Message-Info: vAqge3t/k6Lbxhcbu2FDDucMZtDbZ/kjooNv3bafXbEU0RTf/f7ISX4F0qk4NhEMzACQcPyrBDlM6iR6bX6yESQXIm5q/FWupNB55QQhYTcGSQ7LfY9k6PP9DG+h05aKWNMNE4d9aCkOOXCB+IBhN12DVrkGmmhwSzmrkHBZtO6n/AH32Ql3o2/y1qzalVbNvIOTLQYyaH9dnOI3sG2vZQFE+1YGGNAEyOmOc2j1VaTMbXsZYAN4OvlBZvfWgcimNEdfHMXZXqTg63C5yoQIqongKQaW06xXffZQwiMlOWWGYcFqK0KQLhllWy9vs2c0zAX0P6Wu3i7N9ugLQt0QdaSInOi05uG+wY1tYKCHnOy1HuL6Liy2VIO4xvDZR6u06MaAPxspKJBiBVX2C7JQ4iVdB/2HlsefUxMcmQLCtEXQoqPOhSzeYiVj3aguKEiweNcn+wQTiHKEc6esk0M17Z31knkWVUgZGmev7nwLXPwcLGTWQ4q/E0669IRHG2vV6nvHhVYfGBeRyZBLFuCp60w0aCKosiFERzHVT0d3Hav+MZpPZN7iu78Sc+AQYuxx+qhuva9rB5iZaJRii9sSO0E1pEKtaS38Q6QdxqFbqaTSDgZupiazb7SXez2WqCaDC4lb1jLMGraGIVhhXt5ajc4oYVAA7WK8C3yrV4A5VtqFjuIsEUfBIKbR36DtFSJW9D6C9Cq3raAAH9rc9Dp4+AYvEoblf76qCWcOoUKgYqAONy1vVGLY8155Tv7bid32OX6JVjsbdEKshOWxJuXQEA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2023 14:35:38.6912 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a151a67e-cf08-40f3-9ac4-08dbbb7930d1 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: AM7EUR03FT060.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6278 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: Fl1xi5OofkKHdUX0BCNUJPf1x7686176AA= 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=H0C0CI5m; 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 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 Reviewed-by: Pierre Gondois --- Notes: v3: - No code change from v2 patch series. [SAMI] 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 (#109002): https://edk2.groups.io/g/devel/message/109002 Mute This Topic: https://groups.io/mt/101522269/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-