diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2023-09-22 15:35:04 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-30 12:16:56 +0000 |
commit | 822c54eb0177833d7949049cb9eb1e18dc3572a9 (patch) | |
tree | f0088b8f038295d7452cbe20e06b345d038c78a5 | |
parent | 4f3ee7fbafc8e83c20f273f4db6c24fe240f6a94 (diff) | |
download | edk2-822c54eb0177833d7949049cb9eb1e18dc3572a9.tar.gz edk2-822c54eb0177833d7949049cb9eb1e18dc3572a9.tar.bz2 edk2-822c54eb0177833d7949049cb9eb1e18dc3572a9.zip |
MdePkg: MADT: Add Online capable flag in GICC
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 <sami.mujawar@arm.com>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
-rw-r--r-- | MdePkg/Include/IndustryStandard/Acpi65.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi65.h b/MdePkg/Include/IndustryStandard/Acpi65.h index 6caadf2404..9e2828bc04 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.<BR>
- Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.<BR>
+ Copyright (c) 2019 - 2023, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2023, Loongson Technology Corporation Limited. All rights reserved.<BR>
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
|