The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] kernel/cpu: The number of CPUHP_AP_ONLINE_DYN (30) is too small that stops the new dynamic states hotplug.
@ 2023-12-12  2:52 wangxiaoming321
  2023-12-15 19:39 ` Thomas Gleixner
  2023-12-19  3:34 ` [PATCH] cpu/hotplug: Increase the number of dynamic states wangxiaoming321
  0 siblings, 2 replies; 5+ messages in thread
From: wangxiaoming321 @ 2023-12-12  2:52 UTC (permalink / raw)
  To: tglx, peterz, linux-kernel; +Cc: wangxiaoming321

144: perf/x86/cstate:online
159: workqueue:online
160: RCU/tree:online
161: mm/writeback:online
162: mm/vmstat:online
163: padata:online
164: x86/intel/epb:online
165: mm/compaction:online
166: block/mq:online
167: umwait:online
168: x86/msr:online
169: x86/cpuid:online
170: lib/percpu_cnt:online
171: idle/intel:online
172: acpi/cpu-drv:online
173: base/cacheinfo:online
174: x86/therm:online
175: cpufreq:online
176: x86/mce:online
177: x86/microcode:online
178: x86/resctrl/cat:online:
179: printk:online
180: trace/hwlat:online
181: trace/osnoise:online
182: perf/x86/intel/i915:online
184: driver/dma/idxd/perf:online
185: platform/x86/isst-if:online
186: hwmon/coretemp:online
187: thermal/intel_powerclamp:online
188: thermal/x86_pkg:online
189: platform/x86/uncore-freq:online
190: powercap/rapl:online
191: ia64/sep5:online
193: x86/kvm/clk:online
195: online

It needs to enlarge the number of dynamic states.

Signed-off-by: wangxiaoming321 <xiaoming.wang@intel.com>
---
 include/linux/cpuhotplug.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
index efc0c0b07efb..c88a58c363f1 100644
--- a/include/linux/cpuhotplug.h
+++ b/include/linux/cpuhotplug.h
@@ -251,7 +251,7 @@ enum cpuhp_state {
 	CPUHP_AP_RCUTREE_ONLINE,
 	CPUHP_AP_BASE_CACHEINFO_ONLINE,
 	CPUHP_AP_ONLINE_DYN,
-	CPUHP_AP_ONLINE_DYN_END		= CPUHP_AP_ONLINE_DYN + 30,
+	CPUHP_AP_ONLINE_DYN_END		= CPUHP_AP_ONLINE_DYN + 40,
 	/* Must be after CPUHP_AP_ONLINE_DYN for node_states[N_CPU] update */
 	CPUHP_AP_MM_DEMOTION_ONLINE,
 	CPUHP_AP_X86_HPET_ONLINE,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-20 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12  2:52 [PATCH] kernel/cpu: The number of CPUHP_AP_ONLINE_DYN (30) is too small that stops the new dynamic states hotplug wangxiaoming321
2023-12-15 19:39 ` Thomas Gleixner
2023-12-19  3:30   ` Wang, Xiaoming
2023-12-19  3:34 ` [PATCH] cpu/hotplug: Increase the number of dynamic states wangxiaoming321
2023-12-20 15:35   ` [tip: smp/core] " tip-bot2 for xiaoming Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox