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 62830941786 for ; Wed, 13 Sep 2023 12:49:59 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RMCpOn/jYGWnXiHN2i7Piqo/BHRzDFr17g8ol18QK28=; 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=1694609398; v=1; b=Z8ssSZ89/Ay9/+R0l4oqp5IEa8Oc5WKm5nOabeNf8Me7b5KYOjJHPoYJeD/5BmA+8r7P8fDo ia0SsX7stk0l4phi1qDXbfVrBbtl6/en+dmUV8VycPBi8vAaVSzoCz5tFD2k0jSPorsM5CxNydB K+bpRpTWhmMUgZ7Os8iN2cNE= X-Received: by 127.0.0.2 with SMTP id 6c4YYY7687511xbOLDJWEeEH; Wed, 13 Sep 2023 05:49:58 -0700 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.58]) by mx.groups.io with SMTP id smtpd.web11.10980.1694609396669693697 for ; Wed, 13 Sep 2023 05:49:57 -0700 X-Received: from AS4P192CA0041.EURP192.PROD.OUTLOOK.COM (2603:10a6:20b:658::11) by VE1PR08MB5566.eurprd08.prod.outlook.com (2603:10a6:800:1a9::7) 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:51 +0000 X-Received: from AM7EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:658:cafe::9b) by AS4P192CA0041.outlook.office365.com (2603:10a6:20b:658::11) 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:51 +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 AM7EUR03FT037.mail.protection.outlook.com (100.127.140.225) 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:51 +0000 X-Received: ("Tessian outbound 1eb4e931b055:v175"); Wed, 13 Sep 2023 12:49:51 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7350c8a6375b6286 X-CR-MTA-TID: 64aa7808 X-Received: from 06f3f0223049.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E74E5A5E-7A27-4051-B2C4-A85E9635920E.1; Wed, 13 Sep 2023 12:49:40 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 06f3f0223049.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 13 Sep 2023 12:49:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TsPnns9hWGhC5cBbW+wlhtQKyXdJXVfxlzcJehzfvWtoL5fmZ+LDyZ3AMMN0t7cSzkTWOWON/gew2y+nBBRA7HuCblQNkkjrhIhWITmI4OVTSHvwmF3C8R01gj43s/2SFEJtv7pCknNCHCvOCrGZ0NG/04MR4wBEd8H16+obj6G8eWvwq9+ubs8FYEBAs4abKpImm4F74xPnS+RqchJmRRzyHeipRm2L09utlNtZdUrPh0xpJqfbFNABvV8JWomO2ckMLPlib2PB9z4hhVdoS9ljtTK7U2oZmctL3+AK5GGPNGHti49nmcTEzjiBZ98zGvvy95t4JbiEpdY7ApnWSQ== 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=ekN3a+Dn1FWkbhz8iWro63hg8IeQz48j9pwfwIerS24=; b=JHlZxgs5BFi/RZpqwKqVMNEGUlpLkWmyL8oGlRKgi5GIDAZ3vqvVprFhiFeAbECrdcSrCRHGqxcpDh5MQQD5oJA/7/LWD0HjOdQsecXga1mxgKmPvu0p4ZTKomVfY90ect+Xi9kmV8OMA/ftXvjuhzvqsmfveJxPd8xyM+Z/ViWj+pdWARYDP+yTK0VjBTnOAJEqeZpoechsNootQyfcFtwJpP9i+nt0jiKOoon4bU/3G1P9ZaJ6dRBox4My+QxrTkXNuYmUGjz2kbyMRhBPIr7FyOYN/66G9vXY6J4AGOg9srToaHwlslxZGUFC7ukzjbPejpKXwK8v9fGn3wnDqQ== 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 DUZPR01CA0089.eurprd01.prod.exchangelabs.com (2603:10a6:10:46a::12) by AS8PR08MB10149.eurprd08.prod.outlook.com (2603:10a6:20b:63f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.31; Wed, 13 Sep 2023 12:49:37 +0000 X-Received: from DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:46a:cafe::28) by DUZPR01CA0089.outlook.office365.com (2603:10a6:10:46a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37 via Frontend Transport; Wed, 13 Sep 2023 12:49:37 +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 DBAEUR03FT016.mail.protection.outlook.com (100.127.142.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6792.20 via Frontend Transport; Wed, 13 Sep 2023 12:49:37 +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; Wed, 13 Sep 2023 12:49:36 +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:36 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , , Subject: [edk2-devel] [PATCH v2 01/11] MdePkg: MADT: Add Online capable flag in GICC Date: Wed, 13 Sep 2023 13:49:25 +0100 Message-ID: <20230913124935.38768-2-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: DBAEUR03FT016:EE_|AS8PR08MB10149:EE_|AM7EUR03FT037:EE_|VE1PR08MB5566:EE_ X-MS-Office365-Filtering-Correlation-Id: d5afc733-57fa-4c60-a2d1-08dbb457ec10 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: AZH25crObWyZasMohrXOytSzn9j2u8b2gyC99HIYCH+HnQ2eUf7B0dl/LMizhMZGk/W1tZ/+GU0WxQ55zvMR++Q7z8ki+Q+xl7Faphs4rMS0ZM0C3Cjt8/IcapIjfxwSEdL4nuoThbsPpnmaLV5iV/VmqSQMnZkvuYhlsrkEUwpQvC0OaoNQNFRVRIWC4UQw57zyUJZqI16lD+rD5GcbV6KP0eNjPTgK+S0m7qU2pQu12CC3Tb7Fno4X8VlNtSIAnhjTcPZVryL3DBbnjmaLfuFsGu+0LmBevSbrO5PiNFhsaihRBz9KPSW01onFkb2sjjxu4ScXg25sraDwFXGhOHpZIRpqyMBJmjaQKcxZFCucnlcE39SAwYQKVvCN95xihMxphHNDbD0zPqdKEy3e/MpAnhuyk6j99cmMnQrF3COdZluXlt+wSumPGikLX1VCIvwRuhmZh+86KSicembm6doWFib0A75MgB5vG4z+0aZsLb8useQ5vvkfw7gjomTu+xKgoEWTKSC1urLvYwrWiJc2vovc/DCgjcYo8LmOJwd4Ps4zLOjYnJpP/smoFLZDWPbIsDF8ZDTA0t/SnayhAyXLAVLENNC+B7M2K/RaettrNSJCFXbDapoKDHh22koc2V/ToWC4spfb0KT+5LQmDslEKQpi1pATi/sD0/O+pujKp/SF4Nl4GdfVh3L5zY7a/zg7GSnr9YPVsYSKpJKfpquw1mMG4Ge5Jb9/o/e542PNuMW+TTbzMHHxEkX0/aw2bsgBvkU2BURwUtvpQs8riw== 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)(136003)(376002)(396003)(346002)(82310400011)(186009)(1800799009)(451199024)(46966006)(36840700001)(40470700004)(7696005)(6666004)(44832011)(83380400001)(19627235002)(316002)(426003)(2616005)(336012)(2906002)(54906003)(6916009)(26005)(70206006)(1076003)(8676002)(70586007)(8936002)(5660300002)(4326008)(478600001)(40460700003)(36756003)(47076005)(86362001)(36860700001)(82740400003)(40480700001)(356005)(41300700001)(81166007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB10149 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2b6b74be-d787-48d0-1ee0-08dbb457e399 X-Microsoft-Antispam-Message-Info: PvBI3U0Xw9nhkBJ5Z4guBEU7wN9OtJLzxoqqjwdjqEJiKLjr1BBTTwmgJWQOHZOM+mt1HFjakG8gYemKPWYxBDXake/+Gj9ITFLNXMbyUMmSToq+khrQfodiwWCpzeF8mDFq4rkOpURIGFgekl5r/0OLQXGUCHaobihhaZCdfVqWbmv/VPs8G39divATTDJcJHLkPSzekHPxtDXCuocsRMvXTz/hkLdZfwpOj5yXF3hbbtAZdeVDP+s41cHd3sCNe8UB3FgUi1Q7sz8u0iJakXKRRvT3LkMyQWG/3XNo/mGZ8QFIJthNRp3VJo1za7QSclB4sNe5P2bd6GGMDsh9hRSTbkzUNPnHc9CVSboyaTE0bcvtBb0MueC0eXML2XyP6jg0VbsdtQ7LIxyEWEqmmlGoI6PUxy4U4dFSxawJwJWLRXEyscvb66TyewJytkcbmQ0j01hZ226QCqYConVSnsksHWrpuiQY3H3UzCM/tgitNeMi7GwX1gmeffTVKDjbUK4BzxvGQ9KhQro0MI92iPUTfi/Ds0fqvyNulgUBXQCzrccTx3LXULtWw6JtPW3mvMF3A5+y2PIIFsLy3c0NvsISbHlxn0NP9XXfQ0ed5pfDr+yr4k4XaU1d264AOf5DYPzzFfuMPT76RGmPZDeyw86aOrP4ydj9FIAnhoaiZdRT4ki8Kl9A0qgYUFuym8d/YeBbbHXBAXM+vBp69AMmmTsnJY17tHLsDbz6ohYg7nHKivzZNIc5R2JUJxuwWzGJ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2023 12:49:51.8256 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d5afc733-57fa-4c60-a2d1-08dbb457ec10 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: AM7EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5566 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: qW3cfEu8nZhSAzYSadi5Nzrvx7686176AA= 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=Z8ssSZ89; 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 Bugzilla: 3706 'Code First - MADT GICC new flags' On ARM systems physical CPU hotplug is not supported. All CPUs are considered present and this is true throughout the system uptime. The ECR 2285 introduces a new 'online-capable' flag in the GICC structure flags in ACPI 6.5, to signal firmware policy (CPU is not enabled but it can be enabled and onlined). This enables OSPM to support virtual CPU hotplug (on virtual platforms for instance). This ECR also updates the MADT table revision to 6 to reflect the ACPI 6.5 changes. Therefore, update the MADT table revision to match the value as specified in ACPI 6.5. Signed-off-by: Sami Mujawar --- Notes: v2: - No code change from v1 patch series. [SAMI] MdePkg/Include/IndustryStandard/Acpi65.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi65.h b/MdePkg/Include/IndustryStandard/Acpi65.h index 6caadf2404984aa472f748293b8e80dd120f280c..9e2828bc048bcd9b2bf0529d00bdaf8bf04bf543 100644 --- a/MdePkg/Include/IndustryStandard/Acpi65.h +++ b/MdePkg/Include/IndustryStandard/Acpi65.h @@ -2,7 +2,7 @@ ACPI 6.5 definitions from the ACPI Specification Revision 6.5 Aug, 2022. Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.
- Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.
+ Copyright (c) 2019 - 2023, ARM Ltd. All rights reserved.
Copyright (c) 2023, Loongson Technology Corporation Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -533,6 +533,7 @@ typedef struct { #define EFI_ACPI_6_5_GIC_ENABLED BIT0 #define EFI_ACPI_6_5_PERFORMANCE_INTERRUPT_MODEL BIT1 #define EFI_ACPI_6_5_VGIC_MAINTENANCE_INTERRUPT_MODE_FLAGS BIT2 +#define EFI_ACPI_6_5_GIC_ONLINE_CAPABLE BIT3 /// /// GIC Distributor Structure -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108586): https://edk2.groups.io/g/devel/message/108586 Mute This Topic: https://groups.io/mt/101335838/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-