[PATCH v2 2/2] soc: xilinx: Fix event manager CPU hotplug state cleanup
Prasanna Kumar T S M
ptsm at linux.microsoft.com
Wed Dec 2 04:37:20 PST 2026
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 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