From: "Srivatsa S. Bhat" <srivatsa@csail.mit.edu>
To: Prasanna Kumar T S M <ptsm@linux.microsoft.com>
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
Date: Sat, 28 Nov 2026 23:20:32 +0530 [thread overview]
Message-ID: <awsUaMDAueZDTIJw@csail.mit.edu> (raw)
In-Reply-To: <d47482fa-f2bc-4ebb-97f6-fc305751d4da@linux.microsoft.com>
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
next prev parent reply other threads:[~2026-11-28 17:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 6:20 [PATCH 1/2] mailbox: zynqmp-ipi: Fix CPU hotplug state cleanup Prasanna Kumar T S M
2026-11-03 6:35 ` [PATCH 2/2] soc: xilinx: Fix event manager " Prasanna Kumar T S M
2026-11-03 12:26 ` Jay Buddhabhatti
2026-11-03 15:18 ` Prasanna Kumar T S M
2026-11-18 6:33 ` Srivatsa S. Bhat
2026-11-28 17:05 ` Prasanna Kumar T S M
2026-11-28 17:50 ` Srivatsa S. Bhat [this message]
2026-11-03 16:05 ` [PATCH 1/2] mailbox: zynqmp-ipi: Fix " kernel test robot
2026-11-04 5:53 ` Pandey, Radhey Shyam
2026-11-04 11:21 ` Prasanna Kumar T S M
2026-11-18 6:08 ` Srivatsa S. Bhat
2026-11-18 6:19 ` Srivatsa S. Bhat
2026-11-28 17:06 ` Prasanna Kumar T S M
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awsUaMDAueZDTIJw@csail.mit.edu \
--to=srivatsa@csail.mit.edu \
--cc=abhyuday.godhasara@xilinx.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=ptsm@linux.microsoft.com \
--cc=rajan.vaja@xilinx.com \
--cc=ssengar@linux.microsoft.com \
--cc=tejas.patel@xilinx.com \
--cc=tglx@linutronix.de \
--cc=tgopinath@linux.microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox