Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4383718rdb; Mon, 11 Dec 2023 18:54:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFd48BBXXlKzn6o7guJfRThMuQij+ro3wRjMkyUTiIJClph+2rX8xRthcXjWH6URmgL9Nck X-Received: by 2002:a05:6a00:1ad1:b0:6cd:d6c0:d8d0 with SMTP id f17-20020a056a001ad100b006cdd6c0d8d0mr7052741pfv.24.1702349692786; Mon, 11 Dec 2023 18:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702349692; cv=none; d=google.com; s=arc-20160816; b=PXANEYq8E6ptwjlUq7ZNICz53WIOd3tuaS4Nb74DnxGZj307Bn9nts9h0ShFtQfpth uCE+sw5osd1Wj2sJ/N7ZbIdNoJtWdr5Q0nw77guoun62IRmhFsgR70oryeueW86KtoZV qc/JPdne0zZ0Le9A3b9nMaw22xUo63p9IgdbTHBnHEf0NpB+Ci43vd7ccpWkIs9DxeHv SPcDGY1xqn2hBWZZrwhcvhZmHzMngE42WNNv9J4qj34bKIkwPknwxzPNCwZ3I64S2G52 g59Vcp3IXY3xFnOoHYYK8JiPek/0H9OXAMkWKcp0DCoxkJyRQOgDoyr9LDwSjp8XfYLs PhVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ggiNgFi93gbNkYEsVe4UhKXDqnEzvopACUq5yI2qF4U=; fh=1FLeZ+LVmVldX5IHI+1Z18FNE7vM9uA//8ku/bUTayg=; b=JH5xHWo63lEFn/PXTVLToa0Bv/uGV435S2IXHV9+XavWto6onjl/2h7Ct08c6+uK3D dLSfbCVrszpDrcei3IUhz+WWBc1R+KFr1aABBb7lUSx0LSKHHEzzpfHwxXPvUdlsPoxl o/N1stIcYyw1/YKiBhzxS048xRKVFWDT0bFiNdLIQFQEMXis3MOf1V9gfjBpXbiFk1G0 0OcvzKgQCz6D3B5EIylx2oInSQQtKuQfHAcO47zhjftqATmJSKBZE0dO9JnFWOAqNOuk OX5hjUHFRCDKv4dpGA0xxz+YehNyWEy4X3mOzxKBbZAC3OgZJr3MYcO2GVnatOSMgY+e imiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MyEVbRLY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s33-20020a056a0017a100b006cd8f0ed07csi6968141pfg.191.2023.12.11.18.54.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 18:54:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MyEVbRLY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3A074809C17B; Mon, 11 Dec 2023 18:54:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345770AbjLLCyf (ORCPT + 99 others); Mon, 11 Dec 2023 21:54:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231131AbjLLCye (ORCPT ); Mon, 11 Dec 2023 21:54:34 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09BAD83 for ; Mon, 11 Dec 2023 18:54:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702349681; x=1733885681; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zUKj8Dv3nYUnivYpIvNzpVYesGQluYd+Cha+w0N3lsE=; b=MyEVbRLYqsH8122IJmQajXgatRuw4WGVCpAc6gC9bZKt8AJ5vkCbzoDw bT4dG5wPJKYPAl1PXt7lpSBhkV9xETY92lVk4W8iDFHeIANG3lJ01A7ZC Ysn75QT3j9PKE12aHO8s6ExvHAhxhptVn/iGcsqjAJQqr3qpzs8fBv44t xXoi8NI36jzBAkcuUyOfWw+gQUDLjTJ6b0TWkXrBCOlhx18WjfeAUaFa5 /5oJ5CyYr+ehvft3pP9jFeng6q8c+pIEPrShq7Swb7kGuT4F8MyBXHnBC +6WZRB9vuZkAd7bG1xRYDdGtM/xJefSa77uqxBWBIhve597FT0h3oOVBW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="425869279" X-IronPort-AV: E=Sophos;i="6.04,269,1695711600"; d="scan'208";a="425869279" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2023 18:54:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="946595926" X-IronPort-AV: E=Sophos;i="6.04,269,1695711600"; d="scan'208";a="946595926" Received: from tgl-lenovo-03.sh.intel.com ([10.239.87.93]) by orsmga005.jf.intel.com with ESMTP; 11 Dec 2023 18:52:38 -0800 From: wangxiaoming321 To: tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org Cc: wangxiaoming321 Subject: [PATCH] kernel/cpu: The number of CPUHP_AP_ONLINE_DYN (30) is too small that stops the new dynamic states hotplug. Date: Tue, 12 Dec 2023 10:52:35 +0800 Message-Id: <20231212025235.775986-1-xiaoming.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 18:54:50 -0800 (PST) 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 --- 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