From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Sibi Sankar <quic_sibis@quicinc.com>,
andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org,
robh+dt@kernel.org, manivannan.sadhasivam@linaro.org
Cc: agross@kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
konrad.dybcio@somainline.org, amit.pundir@linaro.org,
regressions@leemhuis.info, sumit.semwal@linaro.org,
will@kernel.org, catalin.marinas@arm.com, robin.murphy@arm.com
Subject: Re: [PATCH 1/4] arm64: dts: qcom: Introduce a carveout for modem metadata
Date: Wed, 14 Dec 2022 09:09:06 +0100 [thread overview]
Message-ID: <c4ef3f7f-5b1d-5a11-f869-d1c61dd2c26e@linaro.org> (raw)
In-Reply-To: <96c1e60d-de12-5e60-4c06-70ea4b9c49f8@quicinc.com>
On 14/12/2022 07:49, Sibi Sankar wrote:
> Hey Krzysztof,
>
> Thanks for taking time to review the series.
>
> On 12/14/22 01:10, Krzysztof Kozlowski wrote:
>> On 13/12/2022 15:07, Sibi Sankar wrote:
>>> Introduce a new carveout for modem metadata. This will serve as a
>>> replacement for the memory region used by MSA to authenticate modem
>>> ELF headers.
>>>
>>> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
>>
>> Thank you for your patch. There is something to discuss/improve.
>>
>>>
>>> aliases {
>>> @@ -865,7 +870,7 @@ hp_i2c: &i2c9 {
>>> clock-names = "iface", "bus", "nav", "snoc_axi", "mnoc_axi", "xo";
>>>
>>> iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>;
>>> - memory-region = <&mba_mem &mpss_mem>;
>>> + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
>>>
>>> /* This gets overridden for SKUs with LTE support. */
>>> firmware-name = "qcom/sc7180-trogdor/modem-nolte/mba.mbn",
>>> diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi
>>> index bf522a64b172..bda0495aa0b5 100644
>>> --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi
>>> @@ -17,6 +17,11 @@
>>> reg = <0x0 0x9c700000 0x0 0x200000>;
>>> no-map;
>>> };
>>> +
>>> + mdata_mem: memory@9d100000 {
>>> + reg = <0x0 0x9d100000 0x0 0x4000>;
>>> + no-map;
>>> + };
>>> };
>>> };
>>>
>>> @@ -32,7 +37,7 @@
>>>
>>> iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>;
>>> interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>;
>>> - memory-region = <&mba_mem>, <&mpss_mem>;
>>> + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
>>
>> Only two memory regions are allowed by bindings... unless you fix it in
>> further patchset. If so, please re-order to have the bindings first. It
>> helps reviewers not to have such questions. :)
>
> I felt that Rob's dt_bindings check bot might report an error
> if the dt changes weren't placed before the bindings changes.
> But since you asked for the logical order I guess the bindings
> check are done only after the entire series is applied. I'll
> change the order in the next re-spin.
AFAIR, Rob's bot ignores DTS patches anyway.
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-12-14 8:12 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-13 14:07 [PATCH 0/4] Fix XPU violation during modem metadata authentication Sibi Sankar
2022-12-13 14:07 ` [PATCH 1/4] arm64: dts: qcom: Introduce a carveout for modem metadata Sibi Sankar
2022-12-13 19:40 ` Krzysztof Kozlowski
2022-12-14 6:49 ` Sibi Sankar
2022-12-14 8:09 ` Krzysztof Kozlowski [this message]
2022-12-14 11:27 ` Krzysztof Kozlowski
2022-12-14 11:44 ` Sibi Sankar
2022-12-14 12:54 ` Krzysztof Kozlowski
2022-12-13 14:07 ` [PATCH 2/4] dt-bindings: remoteproc: qcom: sc7180: Update memory-region requirements Sibi Sankar
2022-12-13 19:41 ` Krzysztof Kozlowski
2022-12-14 10:25 ` Sibi Sankar
2022-12-14 11:30 ` Krzysztof Kozlowski
2022-12-14 11:56 ` Sibi Sankar
2022-12-13 14:07 ` [PATCH 3/4] dt-bindings: remoteproc: qcom: q6v5: Update memory region requirements Sibi Sankar
2022-12-13 14:07 ` [PATCH 4/4] remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers Sibi Sankar
2022-12-13 15:07 ` Robin Murphy
2022-12-13 15:57 ` Sibi Sankar
2022-12-13 16:07 ` Manivannan Sadhasivam
2022-12-14 12:49 ` Robin Murphy
2022-12-13 19:47 ` Krzysztof Kozlowski
2022-12-14 10:33 ` Sibi Sankar
2022-12-14 11:28 ` Krzysztof Kozlowski
2022-12-14 11:51 ` Sibi Sankar
2022-12-15 8:51 ` Krzysztof Kozlowski
2022-12-27 12:18 ` [PATCH 0/4] Fix XPU violation during modem metadata authentication Amit Pundir
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=c4ef3f7f-5b1d-5a11-f869-d1c61dd2c26e@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=agross@kernel.org \
--cc=amit.pundir@linaro.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=quic_sibis@quicinc.com \
--cc=regressions@leemhuis.info \
--cc=robh+dt@kernel.org \
--cc=robin.murphy@arm.com \
--cc=sumit.semwal@linaro.org \
--cc=will@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).