Re: [PATCH v2 2/2] soc: xilinx: Fix event manager CPU hotplug state cleanup
From: Prasanna Kumar T S M
Date: Wed Dec 02 2026 - 07:37:29 EST
On 02-12-2026 16:18, Srivatsa S. Bhat wrote:
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.
There was a ask to share the repro steps and the failure signature in v1. It is very difficult to reproduce in my setup so I have shared this info for clarity.
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