[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169237411247.697015.1763852652455357854.b4-ty@arm.com>
Date: Fri, 18 Aug 2023 17:30:09 +0100
From: Suzuki K Poulose <suzuki.poulose@....com>
To: Junhao He <hejunhao3@...wei.com>, anshuman.khandual@....com,
james.clark@....com, mike.leach@...aro.org
Cc: Suzuki K Poulose <suzuki.poulose@....com>, linuxarm@...wei.com,
prime.zeng@...ilicon.com, yangyicong@...wei.com,
jonathan.cameron@...wei.com, coresight@...ts.linaro.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3] coresight: trbe: Fix TRBE potential sleep in atomic context
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@....com>
Powered by blists - more mailing lists