Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6913792rdb; Fri, 15 Dec 2023 11:39:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfstpqYfA5jII+rmG63TxHhRS7NZ2fO7Eao6TfmvaBXTopvE3veeJJCTK8BSByvG95+z2Z X-Received: by 2002:a05:620a:1710:b0:77f:35e3:a478 with SMTP id az16-20020a05620a171000b0077f35e3a478mr17956416qkb.106.1702669198749; Fri, 15 Dec 2023 11:39:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702669198; cv=none; d=google.com; s=arc-20160816; b=r/m9bMYEPFOvWoz5fHDvbOSo8pKjuMdhZlmKIJH2+1twyajeh7nsl9WQaG6ySLioEk DroyysUvJTAsIdWz/nBvM7c21c90ira1P+bFkfiLjlDH7ESseAfHmIqpaspIj9c938+E WX57mKUEeYcRkFK1V7FlHPVBrP5+fHHIUX0cC4C32WTfQJaABM/IAZxan3wWiqfkCK/Z YDxrZOlYzqMCrZzhHRBf3tffxW0vz6MDg/fpcgVpml//OkfHOkuGom9Uc4oDRH/ro+lq snMFijQY6+oSCFl5d/mFj0jAeRfp4tI84pg0sdqfw9iunkHn/i2Bx659h88Vm83iZgi6 uB5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=CcyJTwzRD6ZFeNFzISSaZIcUm8lkKFqGiYWHcX6xjis=; fh=YFFayNXvi9fjpF3KK/npZSEizm/oKenzCOXmMuEeWaA=; b=UONZG/hQDbedBYndF34QcUCYyXMNKIItBb0WpAVnwYrHHKB3Xwc+wU2qWiSB+DmscF uUQmHENYnzfHPFCxrTMRtFfavYXIXvE99cxVlLHRzgdtJLF3d1Xjrrq6Ss7xulovYzy+ T93FqKypech8A5Cf2TWj0gIm9lwaI/HIbsu93MRAQvMTxF+Ji1sYumqyox2aHFsbCZTS 6uOf1IHZ7Zuq8phZlen3oUl0s9xYrpAiZaK77K4EzxbGs959O7HTljN+nta3vK3k7LMa jp9aDVpogV95KxiPHGinZXN4rkBUgsXzme23FXm/P25NTpZ0rzc4HdpUOKj/wZUePZCE 4IEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wLzyA2Ai; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel+bounces-1571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id po17-20020a05620a385100b0077dcefe7343si17102514qkn.736.2023.12.15.11.39.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 11:39:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wLzyA2Ai; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel+bounces-1571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7FF3B1C22E25 for ; Fri, 15 Dec 2023 19:39:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB0E745BF6; Fri, 15 Dec 2023 19:39:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wLzyA2Ai"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HZqTHUC7" X-Original-To: linux-kernel@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A396945BE1 for ; Fri, 15 Dec 2023 19:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702669188; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CcyJTwzRD6ZFeNFzISSaZIcUm8lkKFqGiYWHcX6xjis=; b=wLzyA2AigQbDtTqznVR9C0OEcdHnoVJ/+IHjKYttLOIMVoE06A2+qwqRkYgO4b1XHViqWy 2dJG39jxo+T1BC3NMg+aLhjlateaoQfxqUmOt+OaFfE7qaJ3LXEsbXGLHGq18JuFf/snwA UmW9ndno71UMfIaw8DDg5g23mdmgyANhMiveHE/PFsZCsZwj+FJ2tAxAj91Gg+Jxrist+3 NUiXZV4vRPzLM8n5kWTAdA/WffaopU3Eaz6S3Wc6sfEiy9bA2m4b6wgaONzeKu144tmO99 OUSUf/egUkym0tywFEOOtSyee+DAMXCbgQElFx2xudqJ7z/OlZxlLh9NaQ64TQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702669188; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CcyJTwzRD6ZFeNFzISSaZIcUm8lkKFqGiYWHcX6xjis=; b=HZqTHUC71Oj38kp7+eZPHiuAKQ9G7Q95NThHnWfkU0/Gtqf/N6VLOUzGVJApINMQAAo+qk SaDsfArhauICt5Dg== To: wangxiaoming321 , peterz@infradead.org, linux-kernel@vger.kernel.org Cc: wangxiaoming321 Subject: Re: [PATCH] kernel/cpu: The number of CPUHP_AP_ONLINE_DYN (30) is too small that stops the new dynamic states hotplug. In-Reply-To: <20231212025235.775986-1-xiaoming.wang@intel.com> References: <20231212025235.775986-1-xiaoming.wang@intel.com> Date: Fri, 15 Dec 2023 20:39:47 +0100 Message-ID: <87o7ermf0c.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Tue, Dec 12 2023 at 10:52, wangxiaoming321 wrote: The subject line has a two issues: 1) the prefix is wrong. See https://www.kernel.org/doc/html/latest/process/maintainer-tip.html#patch-subject You find further information about changelogs there and in other parts of the documentation 2) The sentence is too long and incomprehensible. > 144: perf/x86/cstate:online ... > 195: online I have no idea what this number salad is trying to tell me. Changelogs need to explain the problem they are trying to solve. This listing of hotplug states is not an explanation and completely useless as it even contains an entry which do not exist: > 191: ia64/sep5:online Even if it would exist a ia64 hotplug callback is hardly relevant on x86, right? Also the fixed entries e.g. workqueue and RCU/tree are irrelevant for what you are trying to describe. So what you really want to say is something like this: cpu/hotplug: Increase the number of dynamic states The dynamically allocatable hotplug state space can be exhausted by the existing drivers and infrastructure which install CPU hotplug states dynamically. That prevents new drivers and infrastructure from installing dynamically allocated states. Increase the size of the CPUHP_AP_ONLINE_DYN state by 10 to make room. At least that's what I oracled out of your "changelog". Hmm? Thanks, tglx