From: Caleb Connolly <caleb.connolly@linaro.org>
To: Johan Hovold <johan+linaro@kernel.org>, Lee Jones <lee@kernel.org>
Cc: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Stephen Boyd <sboyd@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5] mfd: qcom-spmi-pmic: fix revid implementation
Date: Tue, 3 Oct 2023 16:57:13 +0100 [thread overview]
Message-ID: <dee25d93-28a0-40ee-9ab8-f86c89428dbd@linaro.org> (raw)
In-Reply-To: <20231003152927.15000-1-johan+linaro@kernel.org>
On 03/10/2023 16:29, Johan Hovold wrote:
> The Qualcomm SPMI PMIC revid implementation is broken in multiple ways
> that can lead to resource leaks and crashes. This series reworks the
> implementation so that can be used safely.
>
> Included is also a rename of the SPMI device lookup helper which can
> hopefully help prevent similar leaks from being reintroduced.
>
> Johan
This is.. definitely a major improvement. Thanks for cleaning up my mess
fwiw
Acked-by: Caleb Connolly <caleb.connolly@linaro.org>
>
>
> Johan Hovold (5):
> mfd: qcom-spmi-pmic: fix reference leaks in revid helper
> mfd: qcom-spmi-pmic: fix revid implementation
> mfd: qcom-spmi-pmic: switch to EXPORT_SYMBOL_GPL()
> spmi: document spmi_device_from_of() refcounting
> spmi: rename spmi device lookup helper
>
> drivers/mfd/qcom-spmi-pmic.c | 103 +++++++++++++++++++++++++----------
> drivers/spmi/spmi.c | 9 ++-
> include/linux/spmi.h | 2 +-
> 3 files changed, 80 insertions(+), 34 deletions(-)
>
--
// Caleb (they/them)
next prev parent reply other threads:[~2023-10-03 15:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-03 15:29 [PATCH 0/5] mfd: qcom-spmi-pmic: fix revid implementation Johan Hovold
2023-10-03 15:29 ` [PATCH 1/5] mfd: qcom-spmi-pmic: fix reference leaks in revid helper Johan Hovold
2023-10-03 15:29 ` [PATCH 2/5] mfd: qcom-spmi-pmic: fix revid implementation Johan Hovold
2023-10-03 15:29 ` [PATCH 3/5] mfd: qcom-spmi-pmic: switch to EXPORT_SYMBOL_GPL() Johan Hovold
2023-10-06 23:53 ` Konrad Dybcio
2023-10-03 15:29 ` [PATCH 4/5] spmi: document spmi_device_from_of() refcounting Johan Hovold
2023-10-24 1:58 ` Stephen Boyd
2023-10-25 12:17 ` (subset) " Lee Jones
2023-10-03 15:29 ` [PATCH 5/5] spmi: rename spmi device lookup helper Johan Hovold
2023-10-24 1:58 ` Stephen Boyd
2023-10-25 12:17 ` (subset) " Lee Jones
2023-10-03 15:57 ` Caleb Connolly [this message]
2023-10-12 10:20 ` (subset) [PATCH 0/5] mfd: qcom-spmi-pmic: fix revid implementation Lee Jones
2023-10-13 9:55 ` Johan Hovold
2023-10-13 10:15 ` Lee Jones
2023-10-23 7:05 ` Need SPMI ack (was: Re: (subset) [PATCH 0/5] mfd: qcom-spmi-pmic: fix revid implementation) Johan Hovold
2023-10-25 12:17 ` (subset) [PATCH 0/5] mfd: qcom-spmi-pmic: fix revid implementation Lee Jones
2023-10-25 12:18 ` Lee Jones
2023-10-25 12:24 ` Johan Hovold
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=dee25d93-28a0-40ee-9ab8-f86c89428dbd@linaro.org \
--to=caleb.connolly@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=johan+linaro@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=lee@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@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;
as well as URLs for NNTP newsgroup(s).