From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.trustedfirmware.org (lists.trustedfirmware.org [18.214.241.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01C19606A690 for ; Fri, 4 Dec 2026 07:26:31 +0000 (UTC) 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=QfIu6yBD Received: from lists.trustedfirmware.org (localhost [127.0.0.1]) by lists.trustedfirmware.org (Postfix) with ESMTP id 56D1A456EE for ; Fri, 4 Dec 2026 07:26:30 +0000 (UTC) Authentication-Results: lists.trustedfirmware.org; dkim=pass (1024-bit key; unprotected) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=QfIu6yBD; dkim-atps=neutral Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lists.trustedfirmware.org (Postfix) with ESMTP id 6510844F1D for ; Fri, 4 Dec 2026 07:26:25 +0000 (UTC) Received: from [10.94.176.68] (unknown [52.172.102.253]) by linux.microsoft.com (Postfix) with ESMTPSA id CEACA20B716F; Thu, 3 Dec 2026 23:26:04 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com CEACA20B716F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1796369184; bh=pTnzS88DbsHMJR07HutyTrYoJuzfyvRLjBQPA9lDu3c=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QfIu6yBDbVmnS3OsSYcJ/FiHthF5VUITehJbPzUrChXwhKYo5nM7te2ZHuNEoUn9w 24va7GZzZMlAIyPjWX90kKKkjvLEv7aT/FU3ntInDnDjU6tm2hCu8HrfMEKU+RlwR2 KQ2Gp+FUUW7Ue0ADPvoWLWZ92KmjOgu3tzpkc740= Message-ID: <8b1e4247-a0ff-4b44-9f03-d9c2f1dfccf2@linux.microsoft.com> Date: Fri, 4 Dec 2026 12:56:02 +0530 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 11/14] optee, cpu/hotplug: Update name to match the CPU hotplug state 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 References: <20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu> <20261204-fix-cpuhp-state-names-v1-11-32e62361ce1d@csail.mit.edu> Content-Language: en-US From: Prasanna Kumar T S M In-Reply-To: <20261204-fix-cpuhp-state-names-v1-11-32e62361ce1d@csail.mit.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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-Rspamd-Action: no action X-Spamd-Result: default: False [-6.90 / 15.00]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; BAYES_HAM(-3.00)[99.99%]; SUSPICIOUS_RECIPS(1.50)[]; DWL_DNSWL_LOW(-1.00)[microsoft.com:dkim]; DMARC_POLICY_ALLOW(-0.50)[linux.microsoft.com,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[13.77.154.182:from]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+ip4:13.77.154.182:c]; R_DKIM_ALLOW(-0.20)[linux.microsoft.com:s=default]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; FREEMAIL_TO(0.00)[csail.mit.edu,gmail.com,amd.com,xilinx.com,linuxfoundation.org,kernel.org,dabbelt.com,eecs.berkeley.edu,ghiti.fr,canonical.com,ventanamicro.com,microchip.com,cjdns.fr,foss.st.com,bootlin.com,alliedtelesis.co.nz,gmx.de,svanheule.net,arm.com,brainfault.org,rivosinc.com,linaro.org,linux.intel.com,rendec.net,kroah.com,linux-foundation.org,windriver.com,infradead.org,redhat.com,google.com,intel.com,c-sky.com,linux.ibm.com]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[linux.microsoft.com:+]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:8075, ipnet:13.64.0.0/11, country:US]; DNSWL_BLOCKED(0.00)[52.172.102.253:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_GT_50(0.00)[81]; NEURAL_HAM(-0.00)[-1.000]; ALIAS_RESOLVED(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Server: lists.trustedfirmware.org X-Rspamd-Queue-Id: 6510844F1D X-Spamd-Bar: ------ Message-ID-Hash: M3SXSN35RNWIVRIRWZINS5D4NQA5KZXB X-Message-ID-Hash: M3SXSN35RNWIVRIRWZINS5D4NQA5KZXB X-MailFrom: ptsm@linux.microsoft.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-op-tee.lists.trustedfirmware.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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 X-Mailman-Version: 3.3.5 Precedence: list List-Id: Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: On 04-12-2026 00:46, Srivatsa S. Bhat (Microsoft) wrote: > The per-CPU notification IRQ callbacks are registered at > CPUHP_AP_ONLINE_DYN, but their state name is > "optee/pcpu-notif:starting". This is misleading because the 'starting' > suffix denotes the earlier, interrupts-disabled STARTING section, and > not the ONLINE section. > > Rename it to "optee/pcpu-notif:online", following the naming convention > documented in Documentation/core-api/cpu_hotplug.rst. > > No functional change intended, except for the update to the name string, > which gets reflected in sysfs output and instrumentation. > > Fixes: b3b4ced12c1b ("optee: add per cpu asynchronous notification") > Signed-off-by: Srivatsa S. Bhat (Microsoft) > --- > drivers/tee/optee/smc_abi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tee/optee/smc_abi.c b/drivers/tee/optee/smc_abi.c > index 51624443359b..152f51b526e6 100644 > --- a/drivers/tee/optee/smc_abi.c > +++ b/drivers/tee/optee/smc_abi.c > @@ -1153,7 +1153,7 @@ static int init_pcpu_irq(struct optee *optee, u_int irq) > optee->smc.notif_irq = irq; > > pcpu_irq_num = irq; > - rc = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "optee/pcpu-notif:starting", > + rc = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "optee/pcpu-notif:online", > optee_cpuhp_enable_pcpu_irq, > optee_cpuhp_disable_pcpu_irq); > if (!rc) > Looks good to me. Reviewed-by: Prasanna Kumar T S M