lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221213140724.8612-4-quic_sibis@quicinc.com>
Date:   Tue, 13 Dec 2022 19:37:23 +0530
From:   Sibi Sankar <quic_sibis@...cinc.com>
To:     <andersson@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>,
        <robh+dt@...nel.org>, <manivannan.sadhasivam@...aro.org>
CC:     <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>, Sibi Sankar <quic_sibis@...cinc.com>
Subject: [PATCH 3/4] dt-bindings: remoteproc: qcom: q6v5: Update memory region requirements

Update the bindings to reflect the addition of the new modem metadata
carveout on SoCs that use memory protection before transferring control
to the remote Q6.

Signed-off-by: Sibi Sankar <quic_sibis@...cinc.com>
---

https://lore.kernel.org/all/20220511161602.117772-7-sireeshkodali1@gmail.com/
Sireesh had started the conversion to yaml a while back. I'll take over
the conversion from v2.

 .../bindings/remoteproc/qcom,q6v5.txt         | 29 +++++++++++++++++--
 1 file changed, 26 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
index d0ebd16ee0e1..89772d026363 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
@@ -104,8 +104,24 @@ on the Qualcomm Hexagon core.
 		    must be "mss_restart", "pdc_reset" for the modem
 		    sub-system on SDM845 SoCs
 
-For devices where the mba and mpss sub-nodes are not specified, mba/mpss region
-should be referenced as follows:
+For devices with the compatible strings below and where the mba, mpss and
+metadata sub-nodes are not specified, mba/mpss/mdata region should be
+referenced as follows:
+  "qcom,msm8996-mss-pil"
+  "qcom,msm8998-mss-pil"
+  "qcom,sdm845-mss-pil"
+- memory-region:
+	Usage: required
+	Value type: <phandle>
+	Definition: reference to mba, mpss and metadata reserved-memory regions.
+
+For devices with the compatible strings below and where the mba and mpss
+sub-nodes are not specified, mba/mpss region should be referenced as follows:
+  "qcom,q6v5-pil",
+  "qcom,ipq8074-wcss-pil"
+  "qcom,qcs404-wcss-pil"
+  "qcom,msm8916-mss-pil",
+  "qcom,msm8974-mss-pil"
 - memory-region:
 	Usage: required
 	Value type: <phandle>
@@ -198,7 +214,14 @@ on platforms which do not have TrustZone.
 
 = SUBNODES:
 The Hexagon node must contain two subnodes, named "mba" and "mpss" representing
-the memory regions used by the Hexagon firmware. Each sub-node must contain:
+the memory regions used by the Hexagon firmware. For devices with the compatible
+string below, an additional third subnode named "metadata" representing the modem
+metadata memory region should also be present.
+  "qcom,msm8996-mss-pil"
+  "qcom,msm8998-mss-pil"
+  "qcom,sdm845-mss-pil"
+
+Each sub-node must contain:
 
 - memory-region:
 	Usage: required
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ