From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=128.30.2.78 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795888250; b=r3I2bSVF8v1Vk5MYMp+l+WDwU9OcO66dTgiiM+OQ7WzIbR+v/1ExwBXKsvYX1iXIjs1r raU0/B7fn+/WhsvKVo+9LWloD1+BSZ4lq5Nig4b0J/zM0xZ605YxK0/VChLLEsGq6d+bn VDpPu16G5LSpifkViG6v+mI/B7rKdAimlsW3GmtgWoJGKp2fnZXdIY26t5AiqmDf1ot8f kmA+2vdNSRcRDPi1191u1Qq+AvUTX4xndG2Nw4YZqWocI5oCd1jBGdsD7Ktob9zxNhZvR h20WLSXjiuQendsecw8bDTqKdxCLeDYh5sfEIosI0tfMUtMWEQuqmoo+JMl4FYzpdhA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795888250; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=iqRW96y0kuc14t0V0NojneUIlrvqeybivTvsbZjtjbE=; b=dYk5a3RLEV1ljd0By0jgizZ7ve3yqmkAZKYB+enoP0OIMUOQzXzcMmfWRmVnELJWQhox WanAyTMz/+AgrrPpPjTqbPYYoFRMYfdzEol6DYLJ2uUTFmdF0ZUXkYDW37hZoEmHRB2d8 vz9xqr1RmM19+LQlQ0d52HgnC4kUfDxBodi3QtKGUvT6cw/RtDOeyBpXEvETpMaxlWKsh EcO/cJpb7jdZXdtO8Q4txNNrCgiZ9P4GM1eF6qeehhOt8hg/1rs+epk64CayD0sz3Tn1S zItOf72tbmIAM0EvrsKkLyyT+PTLGQSirzISG7iuOy12O21amUyYsFYQTiEQXvadDuw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=csail.mit.edu; spf=pass smtp.mailfrom=csail.mit.edu; dkim=pass header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=JkjuXf8R; arc=none smtp.remote-ip=128.30.2.78 Received: from outgoing2021.csail.mit.edu (outgoing2021.csail.mit.edu [128.30.2.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11FA9606A31C for ; Sat, 28 Nov 2026 17:50:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 11FA9606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=csail.mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csail.mit.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=JkjuXf8R DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=outgoing.csail.mit.edu; s=test20231205; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iqRW96y0kuc14t0V0NojneUIlrvqeybivTvsbZjtjbE=; t=1795888249; x=1796752249; b=JkjuXf8RQRcQhhQ0MfaKXKHGonhuRMcrne3Av36Lpw3HxnjmThqgy308fsa0i3AOJ4zlGyzTfG4 bBaXUKoIXYYKhBIJcWEocACQ/+3jbbujBbkJvf6TlVmNxJejobWXWVd4d+TaaX5CstxmUAuoE1fU9 /CFaqeG45TxrtK1W7go5ciF6uvo+E9e8LatX9QnXpEzY7imIhfEsuKt91b9bJScc6pT3UaCNtrSwl N0BBgCOxl/mHr9V+sw0Z0zM1655SP66pQaQ+DPqDKCvidHybgdlYesEb0U+9o5u92rjzCtkYlO2Ep Nh2Lsz1mSih2DKG/6r2zxkA2wSssd7XBInJw==; Received: from [49.207.199.203] (helo=csail.mit.edu) by outgoing2021.csail.mit.edu with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1xXMZL-00DZJK-0d; Sat, 28 Nov 2026 12:50:39 -0500 Date: Sat, 28 Nov 2026 23:20:32 +0530 From: "Srivatsa S. Bhat" To: Prasanna Kumar T S M Cc: tgopinath@linux.microsoft.com, ssengar@linux.microsoft.com, michal.simek@amd.com, rajan.vaja@xilinx.com, tejas.patel@xilinx.com, abhyuday.godhasara@xilinx.com, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [PATCH 2/2] soc: xilinx: Fix event manager CPU hotplug state cleanup Message-ID: References: <20261103062051.676519-1-ptsm@linux.microsoft.com> <20261103063515.679043-1-ptsm@linux.microsoft.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Prasanna, On Sat, Nov 28, 2026 at 10:35:34PM +0530, Prasanna Kumar T S M wrote: > Hi Srivatsa, > > On 18-11-2026 12:03, Srivatsa S. Bhat wrote: > > On Mon, Nov 02, 2026 at 10:35:15PM -0800, Prasanna Kumar T S M wrote: > > > On driver removal, the event manager removes the CPUHP_AP_ONLINE_DYN > > > CPU hotplug state instead of the its actual state. This can leave the > > > event manager callbacks dangling. Use the actual CPU hotplug state > > > during driver removal. > > > [...] > > > on_each_cpu(xlnx_disable_percpu_irq, NULL, 1); > > > irq_clear_status_flags(virq_sgi, IRQ_PER_CPU); > > > @@ -660,8 +659,13 @@ 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); > > > + hp_state = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, > > > + "soc/event:starting", xlnx_event_cpuhp_start, > > > > Let's change :starting to :online as per convention, as this is > > associated with the ONLINE_DYN state. > > > > Can we also edit the callback names for symmetry similar to the > > suggestion for patch 1/2? > > I will incorporate these in v2. > Actually, I found several instances of such mismatch throughout the tree, so I have prepared a patch series to address that tree-wide. I'm planning to send it out shortly. So, your v2 can continue to retain the original scope of the fixes. Thank you! Regards, Srivatsa