diff options
author | 2024-06-14 12:58:48 +0300 | |
---|---|---|
committer | 2024-06-17 17:45:31 +0200 | |
commit | 1037e4c53e851682ff8d1ab656567a4d5a333c93 (patch) | |
tree | c8cfc660389ba2363984fed17eca71638b866688 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/apic: Mark acpi_mp_wake_* variables as __ro_after_init (diff) | |
download | wireguard-linux-1037e4c53e851682ff8d1ab656567a4d5a333c93.tar.xz wireguard-linux-1037e4c53e851682ff8d1ab656567a4d5a333c93.zip |
cpu/hotplug: Add support for declaring CPU offlining not supported
The ACPI MADT mailbox wakeup method doesn't allow to offline a CPU after
it has been woken up.
Currently, offlining is prevented based on the confidential computing attribute
which is set for Intel TDX. But TDX is not the only possible user of the wake up
method. The MADT wakeup can be implemented outside of a confidential computing
environment. Offline support is a property of the wakeup method, not the CoCo
implementation.
Introduce cpu_hotplug_disable_offlining() that can be called to indicate that
CPU offlining should be disabled.
This function is going to replace CC_ATTR_HOTPLUG_DISABLED for ACPI MADT wakeup
method.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Tao Liu <ltao@redhat.com>
Link: https://lore.kernel.org/r/20240614095904.1345461-4-kirill.shutemov@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions