+1
−1
+1
−1
+2
−2
Loading
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8XMTL CVE: NA --------------------------------- The code behind ACPI_HOTPLUG_CPU allows a not-present CPU to become present. This isn't the only use of HOTPLUG_CPU. On arm64 and riscv CPUs can be taken offline as a power saving measure. On arm64 an offline CPU may be disabled by firmware, preventing it from being brought back online, but it remains present throughout. Adding code to prevent user-space trying to online these disabled CPUs needs some additional terminology. Rename the Kconfig symbol CONFIG_ACPI_HOTPLUG_PRESENT_CPU to reflect that it makes possible CPUs present. HOTPLUG_CPU is untouched as this is only about the ACPI mechanism. Signed-off-by:James Morse <james.morse@arm.com> Tested-by:
Miguel Luis <miguel.luis@oracle.com> Tested-by:
Vishnu Pajjuri <vishnu@os.amperecomputing.com> Tested-by:
Jianyong Wu <jianyong.wu@arm.com> Signed-off-by:
Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Conflicts: arch/loongarch/configs/loongson3_defconfig Signed-off-by:
liwei <liwei728@huawei.com>