Blob Blame History Raw
From: Mario Limonciello <mario.limonciello@amd.com>
Date: Wed, 8 Sep 2021 16:41:45 -0500
Subject: ACPICA: Add support for MADT online enabled bit
Patch-mainline: v5.16-rc1
Git-commit: 435a8dc8d9b9d91e625901fea5b5695b9b976d84
References: jsc#PED-1408

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@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Lee, Chun-Yi <jlee@suse.com>
---
 include/acpi/actbl2.h |    1 +
 1 file changed, 1 insertion(+)

--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -978,6 +978,7 @@ struct acpi_madt_multiproc_wakeup_mailbo
 /* 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) */