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

From: Srivatsa S. Bhat

Date: Wed Dec 02 2026 - 05:49:01 EST


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@xxxxxxxxxxxxxxx
> Signed-off-by: Prasanna Kumar T S M <ptsm@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Jay Buddhabhatti <jay.buddhabhatti@xxxxxxx>

Reviewed-by: Srivatsa S. Bhat (Microsoft) <srivatsa@xxxxxxxxxxxxx>

Regards,
Srivatsa