From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BD33606A322 for ; Fri, 4 Dec 2026 05:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bfuCYIVC; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=NONTJ/CJ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=Bo0tO9aTFTad+rgZCWoeDeyiikhXB/WB6ysrXME6KBc=; b=bfuCYIVCNuhq7h3uHtYVVysj7e NFEWZnex/INatxC4Y4NN5F/FTYKLcykrGgm9rAcv1WHODL3Lvb5o6V2dnLKHETiOxgwrw5naCsqZ5 vemPjvl9KU92sP/ABtqU5fG2zQGrgdV2kaK+x+uLCuNs4UiMtmVXlAJg+E9nbMSVsxHcJcNDgtPhM kX3S1bQdIDUCrYDmHZkCfxZkjObjHnquCZ61IyWV+v5UdrmbJQ1a5d+bNN7OwNob9Ad54whZGFzau uA8VeA8Yd1SNWd3VOVGb5re21o5vJQ+/rceN1uGe7IsoyWbaQwv3GOfclo27IeZR/VzwP3+e7ZglY Cf4Oty9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZMGR-0000000GjZS-2sL8; Fri, 04 Dec 2026 05:55:28 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZMGE-0000000GjY8-31Ls; Fri, 04 Dec 2026 05:55:21 +0000 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-Archived-By: 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> X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_215517_094673_B5495409 X-CRM114-Status: GOOD ( 21.06 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv