From: Suzuki K Poulose <suzuki.poulose@arm.com>
To: Junhao He <hejunhao3@huawei.com>,
anshuman.khandual@arm.com, james.clark@arm.com,
mike.leach@linaro.org
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>,
linuxarm@huawei.com, prime.zeng@hisilicon.com,
yangyicong@huawei.com, jonathan.cameron@huawei.com,
coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V3] coresight: trbe: Fix TRBE potential sleep in atomic context
Date: Fri, 18 Aug 2023 17:30:09 +0100 [thread overview]
Message-ID: <169237411247.697015.1763852652455357854.b4-ty@arm.com> (raw)
In-Reply-To: <20230818084052.10116-1-hejunhao3@huawei.com>
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>
prev parent reply other threads:[~2023-08-18 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 8:40 Junhao He
2023-08-18 16:30 ` Suzuki K Poulose [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169237411247.697015.1763852652455357854.b4-ty@arm.com \
--to=suzuki.poulose@arm.com \
--cc=anshuman.khandual@arm.com \
--cc=coresight@lists.linaro.org \
--cc=hejunhao3@huawei.com \
--cc=james.clark@arm.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=mike.leach@linaro.org \
--cc=prime.zeng@hisilicon.com \
--cc=yangyicong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®