From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: "Alex G." <mr.nuke.me@gmail.com>, andersson@kernel.org
Cc: mathieu.poirier@linaro.org, krzk+dt@kernel.org,
linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 7/9] remoteproc: qcom_q6v5_wcss: support m3 firmware
Date: Mon, 29 Dec 2025 13:37:45 +0100 [thread overview]
Message-ID: <4e21205e-0b09-496e-9d6f-9fe2c327c13a@oss.qualcomm.com> (raw)
In-Reply-To: <5116928.iIbC2pHGDl@nukework.gtech>
On 12/23/25 9:35 PM, Alex G. wrote:
> On Friday, December 19, 2025 7:29:07 AM CST Konrad Dybcio wrote:
>> On 12/19/25 5:34 AM, Alexandru Gagniuc wrote:
>>> IPQ8074, IPQ6018, and IPQ9574 support an m3 firmware image in addtion
>>> to the q6 firmware. The firmware releases from qcom provide both q6
>>> and m3 firmware for these SoCs. Support loading the m3 firmware image.
>>>
>>> Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
>>> ---
[...]
>>> +static int q6v5_wcss_load_aux(struct q6v5_wcss *wcss, const char
>>> *fw_name)
>>> +{
>>> + const struct firmware *extra_fw;
>>> + int ret;
>>> +
>>> + dev_info(wcss->dev, "loading additional firmware image %s\n",
> fw_name);
Your email client is messing up the reply context - if it happens to
be Thunderbird, set:
mailnews.wraplength = 0
mailnews.send_plaintext_flowed = false
in the config
>>
>> I don't think this log line is useful beyond development
>
> Remoteproc driver prints the main (q6) fimrware name, so I thought it would be
> prudent to print the names of any additional firmwares:
>
> remoteproc remoteproc0: Booting fw image IPQ9574/q6_fw.mdt, size 8140
>
>>> +
>>> + ret = request_firmware(&extra_fw, fw_name, wcss->dev);
>>> + if (ret)
>>> + return 0;
>>
>> return ret, perhaps? Unless you want to say that "it's fine if the M3 image
>> is missing, particularly not to impose any new requirements on existing
>> setups". But you haven't spelt that out explicitly.
>
> I intended to not abort when aux firmware is missing. Maybe the better way to
> handle this is to check for "-ENOENT" in the caller instead of return 0 here.
>
>> You also haven't provided an explanation as to why the firmware should be
>> loaded. Is it necessary for some functionality? Is it that case on the
>> newly-supported IPQ9574?
>
> I don't have a good answer. I reasoned that since the qcom provides it [1],
> the M3 firmware would need to be loaded. I haven't done much testing without
> it.
Well, could you please try?
IIRC it was strictly necessary for ATH1xk-on-PCIe so I'm assuming it's going
to be a necessity here as well
Konrad
next prev parent reply other threads:[~2025-12-29 12:37 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 4:34 [PATCH 1/9] dt-bindings: remoteproc: qcom,ipq8074-wcss-pil: convert to DT schema Alexandru Gagniuc
2025-12-19 4:34 ` [PATCH 2/9] dt-bindings: remoteproc: qcom: add IPQ9574 image loader Alexandru Gagniuc
2025-12-19 5:37 ` Rob Herring (Arm)
2025-12-19 14:44 ` Rob Herring
2025-12-20 8:54 ` Krzysztof Kozlowski
2025-12-23 19:45 ` Alex G.
2025-12-20 8:56 ` Krzysztof Kozlowski
2025-12-19 4:34 ` [PATCH 6/9] remoteproc: qcom_q6v5_wcss: support IPQ9574 Alexandru Gagniuc
2025-12-19 13:20 ` Konrad Dybcio
2025-12-23 20:21 ` Alex G.
2025-12-24 9:44 ` Vignesh Viswanathan
2025-12-24 17:36 ` Alex G.
2025-12-29 12:35 ` Konrad Dybcio
2026-01-05 16:09 ` mr.nuke.me
2026-01-05 17:57 ` Vignesh Viswanathan
2026-01-07 13:26 ` Konrad Dybcio
2026-01-07 18:25 ` Vignesh Viswanathan
2025-12-19 4:34 ` [PATCH 7/9] remoteproc: qcom_q6v5_wcss: support m3 firmware Alexandru Gagniuc
2025-12-19 13:29 ` Konrad Dybcio
2025-12-23 20:35 ` Alex G.
2025-12-29 12:37 ` Konrad Dybcio [this message]
2026-01-05 15:23 ` mr.nuke.me
2026-01-05 18:00 ` Vignesh Viswanathan
2026-01-07 11:55 ` Konrad Dybcio
2025-12-19 4:34 ` [PATCH 8/9] remoteproc: qcom_q6v5_wcss: drop unused clocks from q6v5 struct Alexandru Gagniuc
2025-12-19 13:31 ` Konrad Dybcio
2025-12-19 4:34 ` [PATCH 9/9] remoteproc: qcom_q6v5_wcss: use bulk clk API for q6 clocks in QCS404 Alexandru Gagniuc
2025-12-19 14:52 ` [PATCH 1/9] dt-bindings: remoteproc: qcom,ipq8074-wcss-pil: convert to DT schema Krzysztof Kozlowski
2025-12-20 18:40 ` Alex G.
2025-12-19 16:49 ` Rob Herring
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=4e21205e-0b09-496e-9d6f-9fe2c327c13a@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=krzk+dt@kernel.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=mr.nuke.me@gmail.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