ACPI: Add _OSC bits to advertise OS support for toggling CPU present/enabled
Platform firmware can disabled a CPU, or make it not-present by calling
_EJ0 to make it offline, then changing _STA with the new status.
Not all operating systems support this. For arm64 making CPUs not-present
has never been supported. For all ACPI architectures, making CPUs disabled
has recently been added. Firmware can't know what the OS has support for.
Add two new _OSC bits to advertise whether the OS supports the _STA enabled
or present bits being toggled for CPUs. This will be important for arm64
if systems that support physical CPU hotplug ever appear as arm64 linux
doesn't currently support this, so firmware shouldn't try.
Signed-off-by:
James Morse <james.morse@arm.com>
---
I'm assuming ia64 with physical hotplug machines once existed, and
that Loongarch machines with support for this don't.
Showing
- arch/ia64/Kconfig 1 addition, 0 deletionsarch/ia64/Kconfig
- arch/x86/Kconfig 1 addition, 0 deletionsarch/x86/Kconfig
- drivers/acpi/Kconfig 9 additions, 0 deletionsdrivers/acpi/Kconfig
- drivers/acpi/acpi_processor.c 13 additions, 1 deletiondrivers/acpi/acpi_processor.c
- drivers/acpi/bus.c 16 additions, 0 deletionsdrivers/acpi/bus.c
- include/linux/acpi.h 4 additions, 0 deletionsinclude/linux/acpi.h
Please register or sign in to comment