Re: [PATCH v3] coresight: Fix possible deadlock in coresight_panic_cb

Sean Anderson
2025-09-16T17:01:34Z

On 9/16/25 12:48, Leo Yan wrote:
> On Tue, Sep 16, 2025 at 12:14:40PM -0400, Sean Anderson wrote:
>
> [...]
>
>> > Could you check if the drafted patch below looks good to you? If so, I
>>
>> As stated above I disagree with a half-hearted removal. If you want to do that,
>> then I will resend v2 done with an rcu list and you can make your own follow-up.
>
> It is fine to disagree, but please don't resend v2 :)
>
> We have plan to refactor locking in CoreSight driver, I will try my
> best to avoid adding new lock unless with a strong reason.

As said above it will be done with an rcu list, so no new lock.

Or I can do this patch but stick the notifier block in csdev as suggested by Suzuki.

--Sean