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 32E29D80CA2 for ; Tue, 25 Jul 2023 10:28:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=JoVpr5Ae5BI7ZhZbvFzE4YAf2s1cio/oNSH3GvcRq+s=; 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=1690280903; v=1; b=enj4fRopMUVCweiGoc1xP0IVeszivdZmE0g9AxtOwTPtsoWir+9n6pLShRIhw5AFcFICC+tp PkSJHsjaJH2pDzh9t/ydxxnppYNyQGfjXwOkcyNM+dRY0jImsCYEYY+IqR1ubrZOr8UW/2ieh4W lIqQQAC/jYwYdlLsRxXYF8Rg= X-Received: by 127.0.0.2 with SMTP id hN13YY7687511xjMOJn8wZsF; Tue, 25 Jul 2023 03:28:23 -0700 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.83]) by mx.groups.io with SMTP id smtpd.web11.17188.1690280902329125118 for ; Tue, 25 Jul 2023 03:28:23 -0700 X-Received: from DU2PR04CA0340.eurprd04.prod.outlook.com (2603:10a6:10:2b4::12) by DU0PR08MB7414.eurprd08.prod.outlook.com (2603:10a6:10:352::8) 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:18 +0000 X-Received: from DBAEUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2b4:cafe::4d) by DU2PR04CA0340.outlook.office365.com (2603:10a6:10:2b4::12) 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:18 +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 DBAEUR03FT011.mail.protection.outlook.com (100.127.142.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.29 via Frontend Transport; Tue, 25 Jul 2023 10:28:18 +0000 X-Received: ("Tessian outbound f5de790fcf89:v145"); Tue, 25 Jul 2023 10:28:18 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 47231bea8a35e704 X-CR-MTA-TID: 64aa7808 X-Received: from 515e40214612.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 49243FDC-F99D-4D1E-AFF3-51EEF5DE7198.1; Tue, 25 Jul 2023 10:28:11 +0000 X-Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 515e40214612.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 25 Jul 2023 10:28:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PIPPMzqTqXNrGiOeQUnDCw7G3gW+exHpdHNy1Iqez7G5ZAMAkM8Nv7JCctgMiHj7a7HUNFWNW7Dc77Qv3EzEuWTNOwUp1F/HjMMm7dmkBAw5QamUA3GF20WWO9IUkMKZ6IQTgCU28bQozg5cbj5hzcB+cMADpuAyszNgtEP5L5XVZoWHYa5Z4Ha6ZocRQt8WDXkw+q0PRVGzmIlgS5/gVHjA8xBfWoZJlb/G/XMEb7+ZeCoXcN22YgwN3C+raevHndJOCNh8j4713ys2LexS/Y+FeWYJJKgEcG8vlcnjsJqMPM74sNkmOf08f1/wHAuF/BaOxaUsVEl03yIKnSE/qw== 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=g12JmLtsZsB5l1BQdMWzC2MXv2qGod3IStPbFdIXKPU=; b=ML7SBNabmLYWMSU6t8HBSsgEFkXLyHIK9XbygGpUiIkgMGo70LQO5LqZSbpqI4iF62gP/o5xvhX5zVuGidYrsj9fHTl7SalV0gRQUTEv+iJinjgIk2Fc/fA3G1lyLoLAlLhF4oQ7kc79PBEfWFCkUUtqniwCX9Ofzev97bB5EtDpfTNKnTWAQN9hvhP1HgtIXi2QzpHVhWiLqrVtiwM9Vmv7wa/CGEENBQl74jIGYSTJX+RF5+kQ6s3WUXj1QUpNJh4nksXAV13RezL/gBBNPBndH+GtkjjMn09+kV7qoWmMM+sX0eiZezsL2wzmF5uFX4e+qx03dd3JX2noe33KSQ== 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 AS8PR07CA0041.eurprd07.prod.outlook.com (2603:10a6:20b:459::31) by DB9PR08MB7560.eurprd08.prod.outlook.com (2603:10a6:10:307::10) 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:08 +0000 X-Received: from AM7EUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:459:cafe::ce) by AS8PR07CA0041.outlook.office365.com (2603:10a6:20b:459::31) 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:08 +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 AM7EUR03FT018.mail.protection.outlook.com (100.127.140.97) 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:07 +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 09/11] DynamicTablesPkg: Add an ET info object parser Date: Tue, 25 Jul 2023 11:27:56 +0100 Message-ID: <20230725102758.28132-10-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: AM7EUR03FT018:EE_|DB9PR08MB7560:EE_|DBAEUR03FT011:EE_|DU0PR08MB7414:EE_ X-MS-Office365-Filtering-Correlation-Id: 64448a0a-c8d5-4d6a-e57d-08db8cf9dcdf 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: SHuEdfCpNF0MErNeunNmDXZcCjuDmm03IAA7dFiaX4w8G2pR5VtrRP4uc7471k8F+c/cyaI/vKs8gMRPcvIg23OSpi2xxcLf59ncrU8rl8/6z8m9C/bs35sh0sikqJdMk+QT7Ndf29mBtDWytB+zM1j2TGn/FbA4TmZV0x0L1I2UDGQsr8uC37tdKZbrfRNkgBykFMdgSogiRTIHMd+DdIztSW6ofa5Ag1km719tDmu3FT+kwHs0/p7D9Q4etIJ+SLmgPZ2/gGMfXoTEbmwOEmeNMWf8iZv0XzMDyF+1UtqDhaDQXTYec5GYXN7+DCC8zKA5e+w8KAD+MRiNc6l18pnMw0VieEa/QKVn7ZuPQhJ6IvXWu+hwF8Xs9GVyPHyURigMuJsOpLtOJJKPjIu54sLN4D12Xl3fg8l7IbFk0as5Bm9RvpH/AVzfCyXx4b+1feGj3Mb5sC5hvhUR9PKmpAK0MK6ubB1TzdoqTr8kU0eBD7mL+CoAErco3qM3MC6KVRefKTbsUGp5sFH5VG3zYj9KmjjeyP0JrViBSRTJjxEzptNxcp+d9BxlLPzpcqrRZYTMN/6K0ztL4zt3enMW2m7FRgcNP4hg8jBzGIAViWohiaVDPv37+vJ9TB/XFKXU1mgv1XHwQck29+9fReSYQAKVncV6MnA0UPWLGuszDIj+dDELscLj/X9e7xjZ0Q8VuUp58LEDKzOWIjNYCe9P0CQAqRbZXLANXwJs3+0AEIjJVCR6z4aP0PBb3h1fWeoeV/3idPxBIadiX+1xE5QHMA== 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)(376002)(346002)(136003)(39860400002)(396003)(451199021)(82310400008)(36840700001)(40470700004)(46966006)(81166007)(40460700003)(40480700001)(356005)(4326008)(36860700001)(47076005)(426003)(2616005)(36756003)(83380400001)(5660300002)(44832011)(8676002)(8936002)(54906003)(478600001)(70206006)(70586007)(6916009)(41300700001)(336012)(186003)(1076003)(26005)(316002)(7696005)(6666004)(2906002)(86362001)(82740400003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7560 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5bfcd69c-5f75-4ec9-82f9-08db8cf9d6a2 X-Microsoft-Antispam-Message-Info: Wz2n/SijtXh+lpmNBSFalrN0tBELWIpu40rCnRlu01ClIEDatCSbC6o2/KN9QYFruMAS5ey5DlqlazjimtRJ1rD7xXmr4iAyyQhl9YSGlJz33/VU1Mp19h17429jmXWH2M/ulbRTWt0vwu0/W1xsoo+fHJ4MpO5l+96iZb3MZ3Xd27uCthVnJ9ZomkdNNu07f59sd2HHMf5KwInXApcBZV9rXd1fkqi4OgG5hOh4/zNMsNAKweJR1ujwMj1JdnV6c2Y1ygRv6VLig7Jd1ojBe1+fz6R2fHIws/cPnGJyQGGob7esS3IKRyl9yGE86hxvBZzXo3BI+YzDiAePpp0UcBMDTBU6wJQTMNX58GksxtGf3fA/dcNTchCKr49rcXoaCxTPca4pQyYnlTN07ohA2e66s1jVMZlFDNVA0ZlS/BHuzR218Krp//h7QX9a4OaVIfayWRN8UlgGVsNkg3O5q06NUDjYpyFJDklawn0BKEqnuvPbfgQg/VmKMNx5fForD7Xo1tcsiXOhKbx20tBxPG40//echrSANkBqisd9VCaoMfJkgsag4RGSjtOESZy3vjewurmoIR5Af7K1xPC7FHXPFb8bwaRJjBdnNAIVDocT2lZL4WdHkP55RpfHI+n4/XoAz3RYRbz8WhJpPYfrMDOx71CbWXtwHTDywUKCthEB5QZ9UnMQiML/HLz1UPzGvKaEpz0GUq5PlaZLi1dF8N5S4OTowDU0B+nOH0zJXWKS/lSuGjL+WdUNV79xgERd X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2023 10:28:18.3307 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64448a0a-c8d5-4d6a-e57d-08db8cf9dcdf 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: DBAEUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB7414 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: MVA2Qk10oDTRFBPHUvIBOqBLx7686176AA= 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=enj4fRop; 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}") 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 --- 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 (#107229): https://edk2.groups.io/g/devel/message/107229 Mute This Topic: https://groups.io/mt/100347371/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-