[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230112201731.GA4038840-robh@kernel.org>
Date: Thu, 12 Jan 2023 14:17:31 -0600
From: Rob Herring <robh@...nel.org>
To: Sibi Sankar <quic_sibis@...cinc.com>
Cc: andersson@...nel.org, krzysztof.kozlowski+dt@...aro.org,
manivannan.sadhasivam@...aro.org, agross@...nel.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, konrad.dybcio@...ainline.org,
amit.pundir@...aro.org, regressions@...mhuis.info,
sumit.semwal@...aro.org, will@...nel.org, catalin.marinas@....com,
robin.murphy@....com
Subject: Re: [PATCH V3 03/10] dt-bindings: remoteproc: qcom,sc7180-mss-pil:
Update memory-region
On Wed, Jan 11, 2023 at 05:13:30PM +0530, Sibi Sankar wrote:
> The dynamic memory region used for metadata authentication would still
> be a part of the kernel mapping and any access to this region by the
> application processor after assigning it to the remote Q6 will result
> in a XPU violation. This is fixed by using a no-map carveout instead.
> Update the bindings to reflect the addition of the new modem metadata
> carveout on SC7180 SoC.
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> Signed-off-by: Sibi Sankar <quic_sibis@...cinc.com>
> ---
>
> v3:
> * remove double space [Krzysztof]
> * Pickup R-b
>
> v2:
> * Pad commit message to explain bindings break [Krzysztof]
> * Split dt/bindings per SoC [Krzysztof]
>
> .../devicetree/bindings/remoteproc/qcom,sc7180-mss-pil.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-mss-pil.yaml
> index e4a7da8020f4..b1402bef0ebe 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-mss-pil.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-mss-pil.yaml
> @@ -95,6 +95,7 @@ properties:
> items:
> - description: MBA reserved region
> - description: modem reserved region
> + - description: metadata reserved region
Based on dtbs_check, looks like you need 'minItems: 2'.
>
> firmware-name:
> $ref: /schemas/types.yaml#/definitions/string-array
> @@ -223,7 +224,7 @@ examples:
> <&rpmhpd SC7180_MSS>;
> power-domain-names = "cx", "mx", "mss";
>
> - memory-region = <&mba_mem>, <&mpss_mem>;
> + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
>
> qcom,qmp = <&aoss_qmp>;
>
> --
> 2.17.1
>
Powered by blists - more mailing lists