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 7DAFCD801A6 for ; Fri, 22 Sep 2023 14:35:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CLil5bU97+D/5aDvIIKPWms0NJRH+haElBBAbjbnEko=; 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=1695393335; v=1; b=ZhPwtMWlXoxFqHKbwxYACrbRr9tK8xIcxoHUeXyi6EwBv/sb+GOtI24g4VA2DzM56OOesIrC T6cYLRfIz8xiY1504swkZqN1lGImSZyBq/M1tM/76R/vQjYOaNruGg9agyKZbibwMXO3vhSY5wA l0MVjcFEtJgD4u/YeGFN6x8Y= X-Received: by 127.0.0.2 with SMTP id jXhHYY7687511xVN5PNDE6Id; Fri, 22 Sep 2023 07:35:35 -0700 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.63]) by mx.groups.io with SMTP id smtpd.web10.22910.1695393333709106494 for ; Fri, 22 Sep 2023 07:35:34 -0700 X-Received: from DU2PR04CA0331.eurprd04.prod.outlook.com (2603:10a6:10:2b4::19) by DBAPR08MB5656.eurprd08.prod.outlook.com (2603:10a6:10:1a2::21) 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 DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2b4:cafe::a0) by DU2PR04CA0331.outlook.office365.com (2603:10a6:10:2b4::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:29 +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 DBAEUR03FT016.mail.protection.outlook.com (100.127.142.204) 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:29 +0000 X-Received: ("Tessian outbound c99fbc01d472:v175"); Fri, 22 Sep 2023 14:35:29 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c6ab5f9f09d2efcf X-CR-MTA-TID: 64aa7808 X-Received: from dd8a280bd6e6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2E95611D-692A-4213-84CE-ECAA5DF72567.1; Fri, 22 Sep 2023 14:35:22 +0000 X-Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dd8a280bd6e6.1 (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=UFinf4EXbB/8XBPUtKQ+KMOV4blMi9laGMUqjogoFdWfO0KUg8SesUciGwUr/g2CYi4JW0Yk5SpXuXD7Cz3XA//bH87Sivc7tdK3fjYyyBsnkOObOh7W87+YBzZZw1j9Ez0RyuKyOh9FwnFmLqYujpdJEBazBToiskcHBlpb+9zyCSRozlQvTJxn5RK2sMar2TeBs9PQEOriOFe7gL3Owrn5jHpezBzbH34lIoFCAqsRmadrt5vp/JoOxdOKWtQ3tbDM6+DEPWQj7pPA8R6nZb8m/E/PYoMXTM+TZeQ7GcEkQE2q2YJAQfCFMEnPv2Zul9EAcQssbPtfQzIQ0VM3Dg== 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=iuMWqUFgzpv0C7jEmcIXKK/3om8tF6TyRqEQ20wMq54=; b=GxDdURSkD4zOnnd/cayzTsDF2kAVs8PQf66Dq3J0Zu6u2KpZqWl34k0xUW4mXnSVaM+TdPWsd4XukMNmHBDnvyXseR1ihP+vdSTh1R2ltMIJIQuGDOn5P7jbwJ5+7Bf8igEtbmhoXgnmyUyEl7tQrpCPrPv6OyAOrnX9SqFY9YQsrmbzQmuBLUt78VM1hba1W6xeizoxoIT44le//Rea/LVgCp0pNLRZiS386nC/xZY5bGJHX19KO6ix3AVLDazc0YY4MMPqzN9h6HAOHRBWlnYS3SIVZ9JZhHMUNSsa0YMddbkt5hN5RkNi00ScStO9ZmItS+S8W0L8eSRijb+IAA== 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 AS8PR07CA0033.eurprd07.prod.outlook.com (2603:10a6:20b:459::21) by AM8PR08MB5762.eurprd08.prod.outlook.com (2603:10a6:20b:1c6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.19; Fri, 22 Sep 2023 14:35:19 +0000 X-Received: from AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:459:cafe::11) by AS8PR07CA0033.outlook.office365.com (2603:10a6:20b:459::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.12 via Frontend Transport; Fri, 22 Sep 2023 14:35:19 +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 AM7EUR03FT022.mail.protection.outlook.com (100.127.140.217) 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:19 +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; Fri, 22 Sep 2023 14:35:18 +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; Fri, 22 Sep 2023 14:35:18 +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 01/13] MdePkg: MADT: Add Online capable flag in GICC Date: Fri, 22 Sep 2023 15:35:04 +0100 Message-ID: <20230922143516.4764-2-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: AM7EUR03FT022:EE_|AM8PR08MB5762:EE_|DBAEUR03FT016:EE_|DBAPR08MB5656:EE_ X-MS-Office365-Filtering-Correlation-Id: 412864b5-b412-4db3-bc35-08dbbb792b2f 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: yEm+s3Q6JGbgub6qiTE2YFUvQUuMQt16JfbiE+losaTAIKvLW7CSpsqXTym0cAH3i+/okxrDM0o/SpPASvWEPxw1nBBFsw9k/vH/uqj0mxJIRWXbuuzPYfYfSZiVESHEKaWBR1t+/wx54BHMybShA8/vje5lkfyiFoRrIlDxABTiFyDP7HzbIjbfcSeF20jAOfprwtjBH5jmCWhUz9W5TKKfaxKdgEaRquMOSNs8zh0zMMjWQqFKcdJgQteFFKgIai2vixeOscHAPvrGmwJZFoSCLUJWylwHZIEIyngvInxzdVRFi5ahhF0Q3hIJN7ZOMULiImJAh18dHPFpUFbPGVsUy+lRRnTOQci9SqY+zrEghorzdgaPCn6rGoj0aOcpK1V1V+jYCwXSdxvit2RZhqG69P5hOU7WkqQNQS6k7lPjojhd0kCYYDLJM2xxFcojbYz9DMWUfgLeOdBBLoTLN0gxRh15IddaeOxUiAdeEP/Gma8ewVwAbvA72Rq4bB8BEJr+52wfAonGgl3zue47dzLOmr6htu0yHCoOrBUtIjuV4CFOacP4Iy16kA/AqAlfqi4WS0QbG+uA4mQwlnmzjye0LjCKBMHduCOXHl7Bk1Vp0v4UdCp870xvc6fnWfTOFBB/u/1i41yXteZIDeZUjiFjuHJqYeAq1Qb3b/bAhBmYhiKnQfFfuTdM0x6D4eZigJ4KYtn4CeCOwW3k9qhev3SEkSVfpcdRacL0zDbJarE2ffoALC0dIZdy7fOLkXcacBpVkViIXCVOtLVedQsrAHdksn+baNKMps3KCMqOepzukawbc1lH6YgS5esDlj/O 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)(346002)(39860400002)(396003)(136003)(376002)(451199024)(1800799009)(230921699003)(186009)(82310400011)(36840700001)(40470700004)(46966006)(6666004)(7696005)(83380400001)(478600001)(356005)(81166007)(82740400003)(40460700003)(36756003)(40480700001)(426003)(86362001)(47076005)(2616005)(36860700001)(44832011)(4326008)(336012)(26005)(19627235002)(8936002)(6916009)(5660300002)(2906002)(8676002)(54906003)(316002)(1076003)(70206006)(41300700001)(70586007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5762 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5385a42b-ac03-488d-b04a-08dbbb792563 X-Microsoft-Antispam-Message-Info: QztVxPsQaTtOVyWA3VtdX1shKvBQcl8WnYKDKTFa5L1EKFBJZLm9WPLBPHqaf6KoS444TNMpCmHOn/gnIW7FwGaQgAvsEL7jZc72Nq3Nn6twZMg+VbKx50r4+7+3HflstiNentL/no4c7k+YlfcuuAvrQ5mno3PGOijBiNRAY+3HqsfP3/Fm0wPt/F3NLXGlDUd5z9fOOeHaMtZd5P1XGGogALgdXRf1EWY6NI6wLgpvnDhQLJq9t56V/r34GwjeHZzqbAI2oqdaoddGY1Czu4wlRMeuu9wk/R70UCheMSI5gxxrsf8j2yjcq4wSTyfaBREwJnbgwKjS45S2UNtNqpB0Gh9x6Maz3tY2yxVSARxvdD+emEHo1ZF9XEButTTBlO5cxR1kBCxLArJj0eM2gGnrBzJQAj8nCW2NT8IjK7aOr+fXUe88qIuyK9fMdPHqp6QZq07fO6sTxtF//rDsZaA9POBAjY+cgRAwZ/tmbEZ5xf+7QwI0WlgW/UOoOOTTqL7+XxvkPjO/t8K/kFItxkfzl0jB6UfdRY4ELx3FXxBqQMmHpF9oAkrFa+V9fuycFfmQv+CzUi+s+H9zaholjWXxEVAlZjs8w4TJ8SoMHwtRCwd0JD5DY2AgWgH+u9t9ygFaMzkrJd0U9jmFM1iI3BoOP0uqkOdZd8RT7D0mdXcmsEuNoP8KZ5etjtNTVW+fEHdVJ5ZTuRGfnIs4PbiDLRoMH2JD21uREgP3xMkGEWm4XIFv8j1mNmJg+oyRpUi6 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2023 14:35:29.1949 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 412864b5-b412-4db3-bc35-08dbbb792b2f 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: DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5656 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: 2xRCG4b4vtDtJ8uwWZw87Rlgx7686176AA= 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=ZhPwtMWl; 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}") 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 Reviewed-by: Pierre Gondois --- Notes: v3: - No code change from v2 patch series. [SAMI] 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 (#108993): https://edk2.groups.io/g/devel/message/108993 Mute This Topic: https://groups.io/mt/101522258/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-