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=1796363709; b=x1k5LtvuVoIMdNRfAPY+fOmMK9H6kLY+//LzoFLrJ3BB+22FVf+GhksqMJSJ6LaaUnR8 Cd4yeoGoRV2hCoGsMLePey8bBBLbXT0Cb4S5jAWr8CmuS8wK6zYIu5TakGshlGntxauAU 5ZZB7glv0S91LgtjdE6GC6QVTP/0UqDYy4qBXPXuspQ0EgSwwGRROlF+PniUYfz3DA2NT QGYCZybFaG9HXI/2usaj4FPQy5QKFCqjKzd0t6Sb4JikiLKW6iWQmiPxe7g8OXwHKeVD6 TOYhHFJKcXDfuhG7ll0PdIgonHKBoUNznXzDB3wcGkiX0/Fafb5qQqoBgRnu67XZFnA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796363709; 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=WB2wAHPEHuhaQhi738tTfXBoK+ZZ+wJmkze1WRWO6T0=; b=V854pJJWG1N5Ha8u6H/oTSCKiYwHi5Ga4Fu1CGMe6QJBkmMeRjjY49zJTYQCITxrTCeU sqxT0J72oqzPxsXHp2jb4/6O1TFr18ZQNraQWhb7Iyj0KSy3F4dn3G2yGUTmS0UvldluR uIBko+DFIbBQOFAdCU1Fc1Hr/ucO4mnu3XLdPgQQ5d6gxhiawF7mWad3SCeOZSUD+oO2Z p79PrQJET5QFvZP/9GDK6PdKu1UxLz3yJpVdXPBqwz9wUa8cS9rxcy+Dn7xCleIRX/D8g 5fhiHzXRpfgKw6aRUg2libiz2AqShIFmjGYqFyUUjXxd8MOF/nXXL9urROMfFhPPr2A== 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="NONTJ/CJ"; 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 432CB606A32C; Fri, 4 Dec 2026 05:55:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 432CB606A32C 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=NONTJ/CJ Received: from [10.94.176.68] (unknown [52.172.102.222]) by linux.microsoft.com (Postfix) with ESMTPSA id AAE1220B7166; Thu, 3 Dec 2026 21:54:47 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AAE1220B7166 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1796363707; bh=WB2wAHPEHuhaQhi738tTfXBoK+ZZ+wJmkze1WRWO6T0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NONTJ/CJHDRxjy5NNjdQpDDib4Ec2i7gBAmilysEO+17ZjD6qNJm+4VNfAeceAXYV ztc8ZzIeIE8+yFwBZsYvuZ29K3WwA8DKir7FJGaHOE0BCd+jHZmmBGDj28ANJZHagI /py57qnr1XqyIIFBFtGVeOtYzuz1J08eyf6VJg18= Message-ID: <8e395964-db20-464e-92e9-6e350a702202@linux.microsoft.com> Date: Fri, 4 Dec 2026 11:24:45 +0530 X-Mailing-List: linux-pm@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 01/14] mailbox/zynqmp, 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-1-32e62361ce1d@csail.mit.edu> Content-Language: en-US From: Prasanna Kumar T S M In-Reply-To: <20261204-fix-cpuhp-state-names-v1-1-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 SGI setup registers its CPU hotplug callbacks at > CPUHP_AP_ONLINE_DYN, but names the state "mailbox/sgi:starting". > This is misleading because the 'starting' suffix denotes the earlier, > interrupts-disabled STARTING section, and not the ONLINE section. > > Rename it to "mailbox/sgi: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: 6ffb1635341b ("mailbox: zynqmp: handle SGI for shared IPI") This change doesn't introduce any functional change and doesn't fix a bug. Why "Fixes: " is added here, is it intentional? I have same question for all changes in this series. > Signed-off-by: Srivatsa S. Bhat (Microsoft) > --- > drivers/mailbox/zynqmp-ipi-mailbox.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/mailbox/zynqmp-ipi-mailbox.c b/drivers/mailbox/zynqmp-ipi-mailbox.c > index 2b81bedf0653..5492c2e49f6d 100644 > --- a/drivers/mailbox/zynqmp-ipi-mailbox.c > +++ b/drivers/mailbox/zynqmp-ipi-mailbox.c > @@ -775,7 +775,7 @@ static int versal_ipi_setup(struct zynqmp_ipi_mbox *ipi_mbox, > return 0; > } > > -static int xlnx_mbox_cpuhp_start(unsigned int cpu) > +static int xlnx_mbox_cpu_online(unsigned int cpu) > { > struct zynqmp_ipi_pdata *pdata; > > @@ -786,7 +786,7 @@ static int xlnx_mbox_cpuhp_start(unsigned int cpu) > return 0; > } > > -static int xlnx_mbox_cpuhp_down(unsigned int cpu) > +static int xlnx_mbox_cpu_offline(unsigned int cpu) > { > struct zynqmp_ipi_pdata *pdata; > > @@ -863,8 +863,8 @@ static int xlnx_mbox_init_sgi(struct platform_device *pdev, > irq_set_status_flags(pdata->virq_sgi, IRQ_PER_CPU); > > /* Setup function for the CPU hot-plug cases */ > - cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "mailbox/sgi:starting", > - xlnx_mbox_cpuhp_start, xlnx_mbox_cpuhp_down); > + cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "mailbox/sgi:online", > + xlnx_mbox_cpu_online, xlnx_mbox_cpu_offline); > > return ret; > } > The change looks good to me. Reviewed-by: Prasanna Kumar T S M