From: Alexey Minnekhanov <alexeymin@postmarketos.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, Sibi Sankar <quic_sibis@quicinc.com>
Subject: Re: [PATCH v3] arm64: dts: qcom: sdm630: Add support for modem remoteproc
Date: Wed, 19 Jul 2023 15:58:43 +0300 [thread overview]
Message-ID: <a23e7b67-877f-5fc4-754a-4fa1b54b9a1c@postmarketos.org> (raw)
In-Reply-To: <ebc27dd7-93fe-4d8e-8b8c-4fc1d52cc275@linaro.org>
On 19.07.2023 13:18, Krzysztof Kozlowski wrote:>> From schema:
>> .../Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml
>> .../arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dtb:
>> remoteproc@4080000: memory-region: [[45], [46]] is too short
>> From schema:
>> .../Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml
>
> This needs fixes. The binding lists expected memory regions and you do
> not have three of them.
>
> Best regards,
> Krzysztof
>
According to driver code, dedicated reserved metadata memory region is
optional. If it is not provided, it is allocated by driver itself using
dma_alloc_attr() and then passed to modem processor.
I see that MSM8996 and MSM8998 (nearest sdm660 siblings) got their
dedicated metadata reserved regions in patchset [1]. SDM660 MSS was not
present at that time and I'm not sure if it is needed for this SoC,
because downstream device tree for my device does not have this region.
I can either do similar trick for sdm630.dtsi, or alternatively maybe we
should fix bindings to indicate that metadata region is optional?
I did quick test: added dedicated reserved metadata region, and
everything still works fine, it seems, and one DTB check warning was gone.
[1]
https://lore.kernel.org/all/20230117085840.32356-1-quic_sibis@quicinc.com/
--
Regards,
Alexey Minnekhanov
postmarketOS developer
next prev parent reply other threads:[~2023-07-19 12:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 9:34 Alexey Minnekhanov
2023-07-19 9:45 ` Krzysztof Kozlowski
2023-07-19 10:10 ` Alexey Minnekhanov
2023-07-19 10:18 ` Krzysztof Kozlowski
2023-07-19 12:58 ` Alexey Minnekhanov [this message]
2023-09-19 23:07 ` 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=a23e7b67-877f-5fc4-754a-4fa1b54b9a1c@postmarketos.org \
--to=alexeymin@postmarketos.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=quic_sibis@quicinc.com \
--cc=robh+dt@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 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®