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 C743C7803D8 for ; Fri, 22 Sep 2023 14:35:43 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=dQA/fg6dbeg1pAZyKR+7sU+ek3C5Dn2IlkJ8HPefNNI=; 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: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=1695393337; v=1; b=DktmOLWuIM2mFYXW89Z6pBwh2kymO/PIPGiyQHM9Vqh7Dfe8x1lw1+3FLRAmeSBLdo9E1HdY V26i5fzCo0LW5Lj3sYwEawtVyFwVTK8RyBIXvvMDcCGA8BdAL34H7Br1BbiynHviQi6XENb8maU 9msCyWRs37Zk3bIZV869SK+g= X-Received: by 127.0.0.2 with SMTP id UmPnYY7687511xVwV5c3dVBj; Fri, 22 Sep 2023 07:35:37 -0700 X-Received: from EUR02-DB5-obe.outbound.protection.outlook.com (EUR02-DB5-obe.outbound.protection.outlook.com [40.107.249.59]) by mx.groups.io with SMTP id smtpd.web10.22912.1695393336797196790 for ; Fri, 22 Sep 2023 07:35:37 -0700 X-Received: from AS9PR06CA0610.eurprd06.prod.outlook.com (2603:10a6:20b:46e::13) by DU0PR08MB7438.eurprd08.prod.outlook.com (2603:10a6:10:355::7) 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:29 +0000 X-Received: from AM7EUR03FT017.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46e:cafe::9c) by AS9PR06CA0610.outlook.office365.com (2603:10a6:20b:46e::13) 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:28 +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 AM7EUR03FT017.mail.protection.outlook.com (100.127.140.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20 via Frontend Transport; Fri, 22 Sep 2023 14:35:28 +0000 X-Received: ("Tessian outbound 5c548696a0e7:v175"); Fri, 22 Sep 2023 14:35:28 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8be28c170da8010c X-CR-MTA-TID: 64aa7808 X-Received: from 539cb18ab4e8.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 260B7C95-6885-4513-8326-7061496D9DB6.1; Fri, 22 Sep 2023 14:35:22 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 539cb18ab4e8.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 22 Sep 2023 14:35:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUhUZDmz6p00eG6VoUI/HENs5fzk0hyzUTDi0tCGEf095VAH7A0mqgAfvw/xn7cRK5e9WoMcuE8JvOnulxeTv2npMw4pkCzI9PdEEW+Rb10uKoUru2zSlFVpiQUsOsobEkLdfz0j2Q6jDAzA3sFPVGgnLBG3OxsVFRXC4hNSbQyN4+bRPL7I4ZoxFjud46uuc8d0B9R0Car0qMlYJcTuuWTSTXR6UfcfJb3ZO2SrcTSSK3sASXJbURAu2ra2WYSI3v672f3Bij7z1iXCbzNrTQp6i/fOEpR+cveigNuitCfFUsSetYARvsAJrMipr0N2Vjml4Dr8Tkp+ulGsayfRng== 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=FFdavT+aALnIzg3z2pnGDOmBHQ1rrz7NmfNX/3ezf+g=; b=X6CNmRUal/rn8qZZ3cUzdHA2PaJT8w3U1LK1xTGh8NUym86n9icGpWiCQXYn+4Zsaqrs9JuAAKprabYUPlo13//Y+egdDwq6+LMJusAomkzRgrU7AXPFo2oz4XoQ0S8hZ4B79GmEK57mHdCn6Z/kY+lmz90bt7kjeC3GoZFWGd/rehmguy2TUG37YyEJ/I0TaDVce5ilVwjXODGWaVIZbOxtW1fUUvm5badcd0+jkg4zWT8EpYH6dterJiA+GYd5Uc6yL/XBjFJrCaKCdXtCE3NIy9FtDS7oghFQE0R/pdzxlCeiASS523DHTnbsO/rtvLjcNrx7zx8sFrMRV8WRDw== 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 DUZPR01CA0217.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b4::11) by PA4PR08MB7387.eurprd08.prod.outlook.com (2603:10a6:102:2a2::21) 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:18 +0000 X-Received: from DBAEUR03FT065.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b4:cafe::9b) by DUZPR01CA0217.outlook.office365.com (2603:10a6:10:4b4::11) 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:18 +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 DBAEUR03FT065.mail.protection.outlook.com (100.127.142.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6813.20 via Frontend Transport; Fri, 22 Sep 2023 14:35:18 +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:17 +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:17 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , , Subject: [edk2-devel] [PATCH v3 00/11] Update MADT for ACPI 6.5, and add TRBE & ETE support Date: Fri, 22 Sep 2023 15:35:03 +0100 Message-ID: <20230922143516.4764-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT065:EE_|PA4PR08MB7387:EE_|AM7EUR03FT017:EE_|DU0PR08MB7438:EE_ X-MS-Office365-Filtering-Correlation-Id: 026584eb-d011-446c-d161-08dbbb792ade 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: 0oox+JSC/1xxMM+reQxm3m42v4GhGKz7EOZM87WgwXyG3XBTkZavVcac2J6Ft+VkSEqnaE7kmRr6HxGcdZ4VBzLiwS80GtqpGnpN4aPB26nBcI/2FLnsgS8Xjo5ElhiqUxHoTZzXVUNcDvK0OcUhrGAP1AyxuEv8InBfFvB+0Ne3cKGSb8Y//J6gcoxoIC0c/4eZsYdqvu9dsVpDTc4+EmDggH0Yn2YiiMRQJELpyrpkcY88a8RlOz+6lMlz/N8LzgF5jeqIpkmoQoNySdzaPdvQuVhORbIMq1rogO/bV6YxPXcWyIog8+qaSuLBTUK8FOmpdZ85O+DLf1FIOnEoMvaXnAL2rXoE76Yfgatv8RRhnc07F0yqnShkW9o+a+L2dxxRFMOhCyQ7lPq74SlSsNXv/xT6VV+CzBCUKE3l4q0dKZoqZIT6ct5Tbdrxi9E0tLkM9YGvJCnOZsWIdb7N74q47mkeFxcZOvNosmY7feBrgCgcP0SWhzg4sUZE+DbaHtXvlpGA31quENCH0ycCYGRdHl8v4Z6L/GveqvpZ97/7aAVt64iKMzMX50LxNUFw5Noboyc9CGbLCOQ3se4kYm1YV2XHleUJOuc9y9WmNiYKA6ChmkMCAhVqYzIaoZGhTrQxgX+FIG+WgDoaWvdcq2QpdLF9UT0YMcoWDRc5JTfckWQsajZdi0n6U1WZ4DBEqI6i7gg7PBN73bDIwQJxRl0Tw5P9RfQOtnRPb5FycQDZkSOMzDisOAibS9ivvcizj2szDXIq/uVGlI1mquJtcAxhETrf7VD/cVWWhfxS7k4= 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)(136003)(346002)(376002)(39860400002)(396003)(451199024)(186009)(230921699003)(1800799009)(82310400011)(46966006)(36840700001)(40470700004)(40480700001)(19627235002)(26005)(70206006)(478600001)(36756003)(2616005)(70586007)(316002)(1076003)(54906003)(40460700003)(41300700001)(966005)(82740400003)(7696005)(81166007)(356005)(6666004)(36860700001)(5660300002)(6916009)(2906002)(83380400001)(44832011)(47076005)(86362001)(8936002)(8676002)(15650500001)(4326008)(336012)(426003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB7387 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: bce0ccbf-f89f-47b8-31f8-08dbbb7924b1 X-Microsoft-Antispam-Message-Info: wPVxDoARnzhpg8Lfsdo89i0Dr8gQ4A7/R+kaTC9fx6I97Ei83PzEntFY/D7ooJJjTXjWQd103EwT3xZhuva5e9Uzt3dcCFnWKFlft1BTGBCnU+eCrZFqYVFCeQ5Ix5bbHo6lYAc4Vp/1nLwt5X6hnIs1bVaIb6wLVitZLbGKM7VOXOv35yw4r9a0kKKBLGOp9D5hIvVhrgbFjnJURW15k0SXwTqYERd8IDwVDgD0ijHOn2bGyAEfR18W42h1l7/FMaskr7kr8nzb28yE9QXYFLwEhZDDsj8xAoH/V4VA3N6YvsD1VdV0a46ef5l4dQacpM3yTxhxEUZN1IUQ84Sdjpu3dqw+kcZeP8f95lnsh4t7nVGTQ+j55/5G0AbLsPlitQTcBUESyr8Fe9pyK7rxh9xKBHtqaa9LkS+4oLWjzkELcp7AmbPMNq5IQrc2a0L0zxdZECWPGsAFwMcsf/fWAk3rGiEvuYh5fNu7TZQdschtPdz9VVY0csmlZ/qxbeKejMU6A+Jj1xp3Mu4JXi/6dxjgmKH4lrJvY917HDsSGZKN7ATAtYkUQfla0uAIr5HH7WqtQhyjuARkGflHPuMXp58fiLEOV06ibv7upLCeS7zlfwx+6wkaxJ14DlSEZh8MdBwwdUqBbZV/LetHGPHAc0jgk3rrGLyDOHwbHU8iS5i0CyvAniIHuMYZbMZEFsTJh4AbKvw0kTya3VJvSRnbIHg7tbO3P4leUbTPbfgwz8+hAHCXJbhWjqaHUMFs+QQltdhoSNAWmHfkMCUlrszxKg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2023 14:35:28.7114 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 026584eb-d011-446c-d161-08dbbb792ade 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: AM7EUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB7438 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: FrnmNfolAAPGfD0MVkpdzdldx7686176AA= 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=DktmOLWu; 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 This patch series provides the following updates: - The patches 1 & 2 add the new fields introduced in MADT (APIC table) by ACPI 6.5 and the patch 7/11 updates the Acpiview MADT parser accordingly. - The patches 3, 4 & 5 adds TRBE support to the MADT table generator in DynamicTablesPkg. - Patch 6/11 updates the FADT ACPI revision to 6.5. - The patches 8, 9 & 10 add support to generate ETE device nodes. - The 3rd last last patch series fixes a bug wherein the CPC token was incorrectly referenced. - The last 2 patches in the series introduce helper functions to detect if TRBE and ETE features are supported. Updates from v2 patch series: - Updated patch 5 to removed superfluous initialisation of TRBE interrupt field for ACPI 6.4. - Patch 12/13 introduces a helper function in ArmLib to detect if TRBE is supported. - Patch 13/13 introduces a helper function in ArmLib to detect if ETE is supported. Updates from v1 patch series: - Fixed issue with setting TRBE interrupt in patch 5/11. The changes can be seen at: https://github.com/samimujawar/edk2/tree/2620_ete_dev_fvp_v3 Sami Mujawar (13): MdePkg: MADT: Add Online capable flag in GICC MdePkg: MADT: Add TRBE interrupt to GICC DynamicTablesPkg: Add TRBE interrupt to GICC object DynamicTablesPkg: Add TRBE interrupt to GICC object parser DynamicTablesPkg: Update MADT generator for ACPI 6.5 DynamicTablesPkg: Update FADT generator to ACPI 6.5 ShellPkg: Acpiview: Update MADT parser for TRBE interrupt DynamicTablesPkg: Add an ET info object to Arm namespace DynamicTablesPkg: Add an ET info object parser DynamicTablesPkg: Add ETE device to CPU node in AML DynamicTablesPkg: Fix referencing of CPC token ArmPkg/ArmLib: Add ArmHasTrbe () helper function ArmPkg/ArmLib: Add ArmHasEte () helper function ArmPkg/Include/Chipset/AArch64.h | 4 + ArmPkg/Include/Library/ArmLib.h | 25 +++ ArmPkg/Library/ArmLib/AArch64/AArch64Lib.c | 31 ++++ DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 32 +++- DynamicTablesPkg/Library/Acpi/Arm/AcpiFadtLibArm/FadtGenerator.c | 108 +++++------ DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c | 79 ++++---- DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTopologyLibArm/SsdtCpuTopologyGenerator.c | 188 +++++++++++++++++++- DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTopologyLibArm/SsdtCpuTopologyGenerator.h | 11 +- DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c | 11 +- MdePkg/Include/IndustryStandard/Acpi65.h | 4 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c | 48 ++++- 11 files changed, 442 insertions(+), 99 deletions(-) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108996): https://edk2.groups.io/g/devel/message/108996 Mute This Topic: https://groups.io/mt/101522262/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-