Re: [PATCH v6 1/1] x86/acpi, x86/boot: Add multiprocessor wake-up support

From: Kuppuswamy, Sathyanarayanan
Date: Tue Jun 08 2021 - 19:19:49 EST




On 6/1/21 10:36 AM, Rafael J. Wysocki wrote:
As per ACPI specification r6.4, sec 5.2.12.19, a new sub
structure – multiprocessor wake-up structure - is added to the
ACPI Multiple APIC Description Table (MADT) to describe the
information of the mailbox. If a platform firmware produces the
multiprocessor wake-up structure, then OS may use this new
mailbox-based mechanism to wake up the APs.

Add ACPI MADT wake table parsing support for x86 platform and if
MADT wake table is present, update apic->wakeup_secondary_cpu with
new API which uses MADT wake mailbox to wake-up CPU.

Co-developed-by: Sean Christopherson<sean.j.christopherson@xxxxxxxxx>
Signed-off-by: Sean Christopherson<sean.j.christopherson@xxxxxxxxx>
Signed-off-by: Kuppuswamy Sathyanarayanan<sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx>
Reviewed-by: Andi Kleen<ak@xxxxxxxxxxxxxxx>
All of my comments have been addressed, so

Reviewed-by: Rafael J. Wysocki<rafael.j.wysocki@xxxxxxxxx>

Thomas/Peter Z,

Gentle ping. Any comments?



--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer