From: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konradybcio@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: stable@vger.kernel.org
Subject: Re: (subset) [PATCH v2 1/2] soc: qcom: pmic_glink: fix scope of __pmic_glink_lock in pmic_glink_rpmsg_probe()
Date: Tue, 17 Dec 2024 10:38:53 -0600 [thread overview]
Message-ID: <173445353299.470882.17564015032047540036.b4-ty@kernel.org> (raw)
In-Reply-To: <20240822164815.230167-1-krzysztof.kozlowski@linaro.org>
On Thu, 22 Aug 2024 18:48:14 +0200, Krzysztof Kozlowski wrote:
> File-scope "__pmic_glink_lock" mutex protects the filke-scope
> "__pmic_glink", thus reference to it should be obtained under the lock,
> just like pmic_glink_rpmsg_remove() is doing. Otherwise we have a race
> during if PMIC GLINK device removal: the pmic_glink_rpmsg_probe()
> function could store local reference before mutex in driver removal is
> acquired.
>
> [...]
Applied, thanks!
[2/2] soc: qcom: pmic_glink: simplify locking with guard()
commit: e9f826b0459f1376b9c8beba019b84f9878419c6
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
prev parent reply other threads:[~2024-12-17 16:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 16:48 Krzysztof Kozlowski
2024-08-22 16:48 ` [PATCH v2 2/2] soc: qcom: pmic_glink: simplify locking with guard() Krzysztof Kozlowski
2024-12-17 16:38 ` Bjorn Andersson [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=173445353299.470882.17564015032047540036.b4-ty@kernel.org \
--to=andersson@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=stable@vger.kernel.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®