From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=13.77.154.182 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796363968; b=3xGWTef11O4QY+GzhjFXqoZ/tdRBx1bWgTs1qt82xDtiiNk0yvMhJzrN2S5iQcygASXa +rYWIL6GGZSOf5OxS99pAPw2JDMP8gILET1HACrPC2hHrcQ21a0rI/A+8LNVYJQe94OME Osqufj0uPw6K+Wim2V0nrqlT4nsyj+D7fYmjiPD1c+0CTF65oBbxvvKg54PVCS9LW0R0p pW3ViNVzxyC392i81zTtmT74BmMvXU3sUjeOgyImiVUJgSJmvmm/q2aDzoEJVpZFb/bbU 9zlDfSwRII0x3mKz1BQmd/l8slG20W3hjinWpqiwzvMoqK4HdY4/TzgsqyU77eos11w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796363968; h=DMARC-Filter:Received:DKIM-Filter:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Spam-Status: X-Spam-Checker-Version; bh=s8azYgSaUEoDxoqBxPaRZyisapO4bKxMrsKo4mR3SSs=; b=D/9SokMfvfKvUqccV+vVzzBK7QIR3V/tb0AdMMpdqVzcL6yDlTmrVUrPjAH68aBk7F91 IHNhXvRerApWbfYLC2uDTebJAmcSft0fw8IC2FOeRU5qUgR0pDRvIGv5E2ZQCVeKjivMQ PRvjzG2DnwKwulnG9uObNMrq/12dLb9KSyp9LBJfcNYptbL7vK5Q338EEPqnKrEKLGjTr s7XDYCKLw/TkFgW8dDowR8YwYCJWOzgGj2MeP4agrE8PIUpmPEVXpfgJpKZxR2tKsQCam HigZ0SYGep7xP4IuukoNu4nTqUXbH7ssR+f1GsTTudnpB1yChlYHJoQVRUWxKnJsR6A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=L1gatg11; arc=none smtp.remote-ip=13.77.154.182 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D6D57606A32D; Fri, 4 Dec 2026 05:59:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D6D57606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=L1gatg11 Received: from [10.94.176.68] (unknown [52.172.102.222]) by linux.microsoft.com (Postfix) with ESMTPSA id 65D1720B7167; Thu, 3 Dec 2026 21:59:06 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 65D1720B7167 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1796363966; bh=s8azYgSaUEoDxoqBxPaRZyisapO4bKxMrsKo4mR3SSs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=L1gatg11vXYNNb5vXkK+Eun3uTkKy6p1bPPGlV5v3xuGEJ2Btwawwb0idin/jhIAR PlCcwQYkZb+G68kUaiWf8PgUcpUX3+5c3+5S/TUvtH1qkak3EHevPww02hTKvk7MEx vW7eYy65dvzITIUh9ygEUxUCeNtH2HreBTiIK1k8= Message-ID: Date: Fri, 4 Dec 2026 11:29:02 +0530 X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 02/14] soc/xilinx, cpu/hotplug: Update name & callbacks to match their hotplug states To: "Srivatsa S. Bhat (Microsoft)" , Jassi Brar , Michal Simek , Saeed Nowshadi , Tanmay Shah , Tejas Patel , Rajan Vaja , Greg Kroah-Hartman , Abhyuday Godhasara , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heinrich Schuchardt , Anup Patel , Conor Dooley , Caleb James DeLisle , Daniel Lezcano , Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , Herve Codina , Chris Packham , Markus Stockhausen , Sander Vanheule , Lorenzo Pieralisi , Sudeep Holla , Ulf Hansson , "Rafael J. Wysocki" , Christian Loehle , Anup Patel , Atish Patra , Suzuki K Poulose , Mike Leach , James Clark , Leo Yan , Alexander Shishkin , Yeoreum Yun , Radu Rendec , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Lee Jones , Pavel Machek , Griffin Kroah-Hartman , Lukasz Luba , Jens Wiklander , Sumit Garg , Etienne Carriere , Andrew Morton , Zqiang , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Jiri Olsa , Ian Rogers , Adrian Hunter , Guo Ren , Mao Han , Mete Durlu , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-mips@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org, coresight@lists.linaro.org, linux-leds@vger.kernel.org, op-tee@lists.trustedfirmware.org, linux-perf-users@vger.kernel.org, linux-csky@vger.kernel.org, linux-s390@vger.kernel.org, Saurabh Sengar , Thara Gopinath References: <20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu> <20261204-fix-cpuhp-state-names-v1-2-32e62361ce1d@csail.mit.edu> Content-Language: en-US From: Prasanna Kumar T S M In-Reply-To: <20261204-fix-cpuhp-state-names-v1-2-32e62361ce1d@csail.mit.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04-12-2026 00:46, Srivatsa S. Bhat (Microsoft) wrote: > The event manager registers its SGI callbacks at CPUHP_AP_ONLINE_DYN, > but names the state "soc/event:starting". This is misleading because the > 'starting' suffix denotes the earlier, interrupts-disabled STARTING > section, and not the ONLINE section. > > Rename it to "soc/event:online", following the naming convention > documented in Documentation/core-api/cpu_hotplug.rst. > > Also, rename the registered CPU hotplug startup and teardown callbacks > to match the states that they are associated with. > > No functional change intended, except for the update to the name string, > which gets reflected in sysfs output and instrumentation. > > Fixes: c7fdb2404f66 ("drivers: soc: xilinx: add xilinx event management driver") > Signed-off-by: Srivatsa S. Bhat (Microsoft) > --- > drivers/soc/xilinx/xlnx_event_manager.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/soc/xilinx/xlnx_event_manager.c b/drivers/soc/xilinx/xlnx_event_manager.c > index f733dc42b3b1..41ea6774a851 100644 > --- a/drivers/soc/xilinx/xlnx_event_manager.c > +++ b/drivers/soc/xilinx/xlnx_event_manager.c > @@ -550,14 +550,14 @@ static irqreturn_t xlnx_event_handler(int irq, void *dev_id) > return IRQ_HANDLED; > } > > -static int xlnx_event_cpuhp_start(unsigned int cpu) > +static int xlnx_event_cpu_online(unsigned int cpu) > { > enable_percpu_irq(virq_sgi, IRQ_TYPE_NONE); > > return 0; > } > > -static int xlnx_event_cpuhp_down(unsigned int cpu) > +static int xlnx_event_cpu_offline(unsigned int cpu) > { > disable_percpu_irq(virq_sgi); > > @@ -660,8 +660,8 @@ static int xlnx_event_manager_probe(struct platform_device *pdev) > } > > /* Setup function for the CPU hot-plug cases */ > - cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "soc/event:starting", > - xlnx_event_cpuhp_start, xlnx_event_cpuhp_down); > + cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "soc/event:online", > + xlnx_event_cpu_online, xlnx_event_cpu_offline); > > ret = zynqmp_pm_register_sgi(sgi_num, 0); > if (ret) { > Looks good to me. Reviewed-by: Prasanna Kumar T S M