[PATCH v3 1/2] ACPICA: Add support for MADT online enabled bit

From: Mario Limonciello
Date: Wed Sep 08 2021 - 17:41:47 EST


The online enabled bit on newer ACPI implmentations will indicate
whether the CPU is hotpluggable.

Link: http://github.com/acpica/acpica/pull/708/
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
---
include/acpi/actbl2.h | 1 +
1 file changed, 1 insertion(+)

Changes from v2:
* Split into a separate patch from the acpica pull request

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 2069ac38a4e2..fae45e383987 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -808,6 +808,7 @@ struct acpi_madt_multiproc_wakeup_mailbox {
/* MADT Local APIC flags */

#define ACPI_MADT_ENABLED (1) /* 00: Processor is usable if set */
+#define ACPI_MADT_ONLINE_CAPABLE (2) /* 01: System HW supports enabling processor at runtime */

/* MADT MPS INTI flags (inti_flags) */

--
2.25.1