[PATCH v2 2/2] soc: xilinx: Fix event manager CPU hotplug state cleanup

Srivatsa S. Bhat srivatsa at csail.mit.edu
Wed Dec 2 02:48:45 PST 2026


On Mon, Nov 30, 2026 at 01:45:13AM -0800, Prasanna Kumar T S M wrote:
> On driver removal, the event manager removes the CPUHP_AP_ONLINE_DYN
> CPU hotplug state instead of its actual state. This can leave the event
> manager callbacks dangling. Use the actual CPU hotplug state during
> driver removal.
> 
> Hotplug registration failures are also ignored, allowing probe to
> succeed without the callbacks needed to enable event interrupts on
> CPUs brought online later.
> 
> This is found by code inspection.
> 

Same minor nit in the changelog for this line as for patch 1/2, but the patch
looks good to me otherwise.

> Fixes: c7fdb2404f66 ("drivers: soc: xilinx: add xilinx event management driver")
> Cc: stable at vger.kernel.org
> Signed-off-by: Prasanna Kumar T S M <ptsm at linux.microsoft.com>
> Reviewed-by: Jay Buddhabhatti <jay.buddhabhatti at amd.com>

Reviewed-by: Srivatsa S. Bhat (Microsoft) <srivatsa at csail.mit.edu>

Regards,
Srivatsa



More information about the linux-arm-kernel mailing list