[PATCH] Documentation: Drop cpu0_hotplug mentions
#Waiting for reviewFrom:Lucas De Marchi <lucas.demarchi@intel.com>
Date:
Message-ID:<20250121181856.743616-1-lucas.demarchi@intel.com>
Patch:v1 · 1/1
Language:zh_CN
Patch-ID:2456284047ff0ca4a9e3a179e3ab8b0f8bf283b9
Files:
Documentation/core-api/cpu_hotplug.rstDocumentation/translations/zh_CN/core-api/cpu_hotplug.rstLinks:lore message ↗ · raw mail ↗
Patch content 2 changed files
This is gone since commit e59e74dc48a3 ("x86/topology: Remove CPU0hotplug option"). zh_CN translation is also updated here, but needsto be checked. Cc: Binbin Zhou <zhoubinbin@loongson.cn>Cc: Yanteng Si <si.yanteng@linux.dev>Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>--- Documentation/core-api/cpu_hotplug.rst | 5 ----- .../translations/zh_CN/core-api/cpu_hotplug.rst | 15 ++------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/Documentation/core-api/cpu_hotplug.rst b/Documentation/core-api/cpu_hotplug.rstindex e1b0eeabbb5e5..2c92023573985 100644--- a/Documentation/core-api/cpu_hotplug.rst+++ b/Documentation/core-api/cpu_hotplug.rst@@ -45,11 +45,6 @@ Command Line Switches This option is limited to the X86 and S390 architecture. -``cpu0_hotplug``- Allow to shutdown CPU0.-- This option is limited to the X86 architecture.- CPU maps ======== diff --git a/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst b/Documentation/translations/zh_CN/core-api/cpu_hotplug.rstindex bc0d7ea6d834c..7b0566ec5d195 100644--- a/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst+++ b/Documentation/translations/zh_CN/core-api/cpu_hotplug.rst@@ -54,11 +54,6 @@ CPU热拔插支持的一个更新颖的用途是它在SMP的暂停恢复支持 这个选项只限于X86和S390架构。 -``cpu0_hotplug``- 允许关闭CPU0。-- 这个选项只限于X86架构。- CPU位图 ======= @@ -120,14 +115,8 @@ PowerPC和X86。配置是通过sysfs接口完成的:: $ echo 1 > /sys/devices/system/cpu/cpu4/online smpboot: Booting Node 0 Processor 4 APIC 0x1 -CPU又可以使用了。这应该对所有的CPU都有效。CPU0通常比较特殊,被排除在CPU热拔插之外。-在X86上,内核选项 *CONFIG_BOOTPARAM_HOTPLUG_CPU0* 必须被启用,以便能够关闭CPU0。-或者,可以使用内核命令选项 *cpu0_hotplug* 。CPU0的一些已知的依赖性:--* 从休眠/暂停中恢复。如果CPU0处于离线状态,休眠/暂停将失败。-* PIC中断。如果检测到PIC中断,CPU0就不能被移除。--如果你发现CPU0上有任何依赖性,请告知Fenghua Yu <fenghua.yu@intel.com>。+CPU又可以使用了。这应该适用于所有 CPU,但 CPU0 通常是特殊的,并且被排除在 CPU+热插拔之外。 CPU的热拔插协作 ===============-- 2.48.0