Messages in this thread | | | From | Suzuki K Poulose <> | Subject | Re: [PATCH V3] coresight: trbe: Fix TRBE potential sleep in atomic context | Date | Fri, 18 Aug 2023 17:30:09 +0100 |
| |
On Fri, 18 Aug 2023 16:40:52 +0800, Junhao He wrote: > smp_call_function_single() will allocate an IPI interrupt vector to > the target processor and send a function call request to the interrupt > vector. After the target processor receives the IPI interrupt, it will > execute arm_trbe_remove_coresight_cpu() call request in the interrupt > handler. > > According to the device_unregister() stack information, if other process > is useing the device, the down_write() may sleep, and trigger deadlocks > or unexpected errors. > > [...]
Applied, thanks!
[1/1] coresight: trbe: Fix TRBE potential sleep in atomic context https://git.kernel.org/coresight/c/c0a232f1e19e3
Best regards, -- Suzuki K Poulose <suzuki.poulose@arm.com>
| |