Re: [PATCHv3 14/14] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2023-12-04 Thread Huang, Kai
> > > > + > > > int __init acpi_parse_mp_wake(union acpi_subtable_headers *header, > > > const unsigned long end) > > > { > > > struct acpi_madt_multiproc_wakeup *mp_wake; > > > > > > mp_wake = (struct acpi_madt_multiproc_wakeup *)header; > > > - if

Re: [PATCHv3 14/14] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2023-12-01 Thread kirill.shute...@linux.intel.com
On Thu, Nov 23, 2023 at 09:38:13AM +, Huang, Kai wrote: > > > diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c > > index 171d86fe71ef..602b5d3982ff 100644 > > --- a/arch/x86/kernel/acpi/boot.c > > +++ b/arch/x86/kernel/acpi/boot.c > > @@ -22,6 +22,7 @@ > > #include > >

Re: [PATCHv3 14/14] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2023-11-23 Thread Huang, Kai
> diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c > index 171d86fe71ef..602b5d3982ff 100644 > --- a/arch/x86/kernel/acpi/boot.c > +++ b/arch/x86/kernel/acpi/boot.c > @@ -22,6 +22,7 @@ > #include > #include > #include > +#include > > #include > #include > @@

[PATCHv3 14/14] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2023-11-15 Thread Kirill A. Shutemov
MADT Multiprocessor Wakeup structure version 1 brings support of CPU offlining: BIOS provides a reset vector where the CPU has to jump to offline itself. The new TEST mailbox command can be used to test the CPU offlined successfully and BIOS has control over it. Add CPU offling support for ACPI