On Mon, Jun 24, 2024 at 02:52:13PM GMT, Sibi Sankar wrote: > The multiple BWMONv4 instances available on the X1E80100 SoC use the > same interrupt number. Mark them are shared to allow for re-use across > instances. > > Using IRQF_SHARED coupled with devm_request_threaded_irq implies that > the irq can still trigger during/after bwmon_remove due to other active > bwmon instances. Handle this race by relying on bwmon_disable to disable > the interrupt and coupled with explicit request/free irqs. > > Signed-off-by: Sibi Sankar <quic_sibis@xxxxxxxxxxx> > --- > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry