From: Lee Jones <lee@kernel.org>
To: agross@kernel.org, andersson@kernel.org,
konrad.dybcio@linaro.org, lee@kernel.org,
Chengfeng Ye <dg573847474@gmail.com>
Cc: sboyd@codeaurora.org, srinivas.kandagatla@linaro.org,
quic_bjorande@quicinc.com, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: (subset) [PATCH v2] mfd: qcom-pm8xxx: Fix potential deadlock on &chip->pm_irq_lock
Date: Fri, 28 Jul 2023 11:55:55 +0100 [thread overview]
Message-ID: <169054175537.336560.5220328545584873141.b4-ty@kernel.org> (raw)
In-Reply-To: <20230720071330.50382-1-dg573847474@gmail.com>
On Thu, 20 Jul 2023 07:13:30 +0000, Chengfeng Ye wrote:
> As &chip->pm_irq_lock is acquired by pm8xxx_irq_handler() under irq
> context, other process context code should disable irq before acquiring
> the lock.
>
> Since .irq_set_type and .irq_get_irqchip_state callbacks are generally
> executed from process context without irq disabled by default, the same
> lock acquision should disable irq.
>
> [...]
Applied, thanks!
[1/1] mfd: qcom-pm8xxx: Fix potential deadlock on &chip->pm_irq_lock
commit: 213f9a4eb2f712866d471d18ab1bf664c71183e6
--
Lee Jones [李琼斯]
prev parent reply other threads:[~2023-07-28 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 7:13 Chengfeng Ye
2023-07-20 18:47 ` Bjorn Andersson
2023-07-28 10:55 ` Lee Jones [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=169054175537.336560.5220328545584873141.b4-ty@kernel.org \
--to=lee@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=dg573847474@gmail.com \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_bjorande@quicinc.com \
--cc=sboyd@codeaurora.org \
--cc=srinivas.kandagatla@linaro.org \
/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®