Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4536444rwb; Tue, 17 Jan 2023 02:04:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtS7KwLtuf+iDaXaAJTIFXaUWDwxVoBKJ5tkpCMKg+MgOF9Se2NZzGyF8X7TDTfJciokQuT X-Received: by 2002:a17:902:ef93:b0:194:9c68:b3e with SMTP id iz19-20020a170902ef9300b001949c680b3emr2919671plb.21.1673949845943; Tue, 17 Jan 2023 02:04:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673949845; cv=none; d=google.com; s=arc-20160816; b=pVjBdx4zbJl3EDWP7M2oB1fPI0usAsmWAvqhMWGEXMEF1m8iLuvG/SYZ+3w4u4ACxh c/RlM6239jHbOFaq3Man3mm+zx3gzg9+uN9BkZ3HdcJSA0jfUpZOidMF4INOgW/9C14j BqYC7T61bPX8TYaPTH/RXJLArhfAMkBJLAtBC/Pbn4xY2GKvCc1KwgscbN7uWmv61LA9 OWWCFF7phvGEgrgr866z1ve+V3JtI8L+arnU0z7yeLlEMW6GPwpu1qp7pIu7o2pkMYFT PqQ74zq1J0KBddOMYJXbITba+55Tl+iMyVzjiG0W5G3IMknbFBDYvjxVREwawt/XvU5t rAMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LK51BeKDmJ1w0wa5xttBxkdXdUKlvG/KRCLgmWha3WU=; b=MlY0Vk9G0RuOSQs23fDnRo3SH51Mq1VdJv+O37RWeEbhQUKmuNhwt7xQnoRVBZjN2X PsG1N7oLqqX6/fHsEjsuz6IWHX7+0IOFrdyzJz3SD+tB/bZHyAkYd13+tu7MciZYSF0I CGse34QaxBuwlYGhCS7yCyt7616iiRvwnQomYy1lS9J1gpGXk1OGyPaxHLEVNS+MjLT2 XGygKS6NMPNmVKz5TdKkvItAA+u8Axz7kb7AtuM0gr2OA+P+WM4vT2c+n6+GixkeHocm uhE/YacD4xdNlXYUoGS5LyDe4fkmBNxF00R1LHwdjYBfbLcw2Qur3sjr4kBaL9RbkXTA 6Cng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eAmeom4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a170902ea0600b001873a81f2d1si13643114plg.87.2023.01.17.02.03.47; Tue, 17 Jan 2023 02:04:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eAmeom4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236305AbjAQJAh (ORCPT + 49 others); Tue, 17 Jan 2023 04:00:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236241AbjAQI7l (ORCPT ); Tue, 17 Jan 2023 03:59:41 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5848B23D8F; Tue, 17 Jan 2023 00:59:33 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30H7Pi9T014208; Tue, 17 Jan 2023 08:59:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=LK51BeKDmJ1w0wa5xttBxkdXdUKlvG/KRCLgmWha3WU=; b=eAmeom4oEDsqQPD7qZgkvpS/A5b0wjAumJqyl94cYC4rXaGlxxp2cPDMWI4yvvQmz2jj JVNr1RlLEtx81VYF0DFz5qB4do3o7Nci2tP2m+1dcJM02A/x+PC4ODHBImgpdDrrY/HM WGwsBknIa98tIbxaPKhxLAIkIoR5VsbpiG4991c/f4oGqRjfMMdSbQa8XI25AQ4fHXVX h6OhvDucr33vEjU2uoAIYTt376TWiIADIxGwwqNlS55q4tT2jL3hAYXhl8LaRbwBK5ON ILTRX7JLSBp5i7JGZOlyVxA6A84uV6kMzaSEhiV0OqbD3KJzP0EWO6u1NYmOWgSvkhOX 0A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n3kqsw5v1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Jan 2023 08:59:21 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30H8xKPR008136 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Jan 2023 08:59:20 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 17 Jan 2023 00:59:15 -0800 From: Sibi Sankar To: , CC: , , , , , , , , , , , , , Sibi Sankar Subject: [PATCH V4 04/11] dt-bindings: remoteproc: qcom,sc7280-mss-pil: Update memory-region Date: Tue, 17 Jan 2023 14:28:33 +0530 Message-ID: <20230117085840.32356-5-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230117085840.32356-1-quic_sibis@quicinc.com> References: <20230117085840.32356-1-quic_sibis@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 8rZS3-YKFDXD5vODVasFEYzObtDTPXJU X-Proofpoint-ORIG-GUID: 8rZS3-YKFDXD5vODVasFEYzObtDTPXJU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-17_04,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=979 spamscore=0 suspectscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 adultscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301170074 X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 SC7280 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Sibi Sankar --- 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,sc7280-mss-pil.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-mss-pil.yaml index b4de0521a89d..005cb21732af 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-mss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-mss-pil.yaml @@ -95,6 +95,7 @@ properties: items: - description: MBA reserved region - description: modem reserved region + - description: metadata reserved region firmware-name: $ref: /schemas/types.yaml#/definitions/string-array @@ -240,7 +241,7 @@ examples: <&rpmhpd SC7280_MSS>; power-domain-names = "cx", "mss"; - memory-region = <&mba_mem>, <&mpss_mem>; + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>; qcom,qmp = <&aoss_qmp>; -- 2.17.1