lkml.org 
[lkml]   [2023]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V3] coresight: trbe: Fix TRBE potential sleep in atomic context
Date
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>

\
 
 \ /
  Last update: 2023-08-18 18:31    [W:0.032 / U:2.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site