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

2024-01-15 Thread Kirill A. Shutemov
On Mon, Jan 15, 2024 at 03:19:43PM +0200, Nikolay Borisov wrote: > > + /* Switch to identity mapping */ > > + movq%rsi, %rax > > + movq%rax, %cr3 > > nit: Can't you move directly to cr3 For some reason, I thought I couldn't. Will fix. -- Kiryl Shutsemau / Kirill A. Shutemov ___

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

2024-01-15 Thread Nikolay Borisov
On 23.12.23 г. 1:52 ч., Kirill A. Shutemov wrote: MADT Multiprocessor Wakeup structure version 1 brings support of CPU offlining: BIOS provides a reset vector where the CPU has to jump to for offlining itself. The new TEST mailbox command can be used to test whether the CPU offlined itself whic

[PATCHv5 16/16] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2023-12-22 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 for offlining itself. The new TEST mailbox command can be used to test whether the CPU offlined itself which means the BIOS has control over the CPU and can onli