From: Luca Weiss <luca@z3ntu.xyz>
To: linux-arm-msm@vger.kernel.org
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 05/10] rpmsg: smd: allow opening rpm_requests even if already opened
Date: Mon, 14 Mar 2022 20:08:20 +0100 [thread overview]
Message-ID: <2630587.mvXUDI8C0e@g550jk> (raw)
In-Reply-To: <20220220201909.445468-6-luca@z3ntu.xyz>
Hi all,
any feedback on this patch? It's needed for msm8953 to boot properly.
Regards
Luca
On Sonntag, 20. Februar 2022 21:18:58 CET Luca Weiss wrote:
> On msm8953 the channel seems to be already opened when booting Linux but
> we still need to open it for communication with regulators etc.
>
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
> Changes in v2:
> - rework original patch, don't drop condition completely but allow force
> opening rpm_requests channel
>
> drivers/rpmsg/qcom_smd.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c
> index 540e027f08c4..887e21ca51f2 100644
> --- a/drivers/rpmsg/qcom_smd.c
> +++ b/drivers/rpmsg/qcom_smd.c
> @@ -1288,9 +1288,14 @@ static void qcom_channel_state_worker(struct
> work_struct *work) if (channel->state != SMD_CHANNEL_CLOSED)
> continue;
>
> + /*
> + * Always open rpm_requests, even when already opened
which is
> + * required on some SoCs like msm8953.
> + */
> remote_state = GET_RX_CHANNEL_INFO(channel, state);
> if (remote_state != SMD_CHANNEL_OPENING &&
> - remote_state != SMD_CHANNEL_OPENED)
> + remote_state != SMD_CHANNEL_OPENED &&
> + strcmp(channel->name, "rpm_requests"))
> continue;
>
> if (channel->registered)
next prev parent reply other threads:[~2022-03-14 19:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 20:18 [PATCH v2 00/10] Initial MSM8953 & Fairphone 3 support Luca Weiss
2022-02-20 20:18 ` [PATCH v2 01/10] dt-bindings: mfd: qcom,tcsr: Document msm8953 compatible Luca Weiss
2022-02-21 8:48 ` Lee Jones
2022-02-21 21:01 ` Luca Weiss
2022-02-22 7:53 ` Lee Jones
2022-02-20 20:18 ` [PATCH v2 02/10] dt-bindings: thermal: tsens: Add " Luca Weiss
2022-02-24 20:10 ` Bjorn Andersson
2022-02-25 11:39 ` Daniel Lezcano
2022-03-08 20:33 ` [thermal: thermal/next] " thermal-bot for Luca Weiss
2022-02-20 20:18 ` [PATCH v2 03/10] dt-bindings: usb: qcom,dwc3: " Luca Weiss
2022-02-24 20:11 ` Bjorn Andersson
2022-02-25 9:11 ` Greg Kroah-Hartman
2022-02-20 20:18 ` [PATCH v2 04/10] dt-bindings: arm: cpus: Add Kryo 250 CPUs Luca Weiss
2022-02-20 20:18 ` [PATCH v2 05/10] rpmsg: smd: allow opening rpm_requests even if already opened Luca Weiss
2022-03-14 19:08 ` Luca Weiss [this message]
2022-03-15 20:14 ` Luca Weiss
2022-02-20 20:18 ` [PATCH v2 06/10] arm64: dts: qcom: Add MSM8953 device tree Luca Weiss
2022-02-20 20:19 ` [PATCH v2 07/10] arm64: dts: qcom: Add PM8953 PMIC Luca Weiss
2022-02-20 20:19 ` [PATCH v2 08/10] arm64: dts: qcom: Add SDM632 device tree Luca Weiss
2022-02-20 20:19 ` [PATCH v2 09/10] dt-bindings: arm: qcom: Document sdm632 and fairphone,fp3 board Luca Weiss
2022-02-20 20:19 ` [PATCH v2 10/10] arm64: dts: qcom: sdm632: Add device tree for Fairphone 3 Luca Weiss
2022-02-24 20:50 ` [PATCH v2 00/10] Initial MSM8953 & Fairphone 3 support patchwork-bot+linux-arm-msm
2022-02-24 20:54 ` (subset) " Bjorn Andersson
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=2630587.mvXUDI8C0e@g550jk \
--to=luca@z3ntu.xyz \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=phone-devel@vger.kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.