From patchwork Mon May 22 15:12:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 97510 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1529096vqo; Mon, 22 May 2023 08:23:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7g9TdZGZJTk5L8zKKJfZImfCdZPHzkS2T5WTVXwt/+Hp3D1Z+KVSWZB9y2F9m7n0zdJxXr X-Received: by 2002:a05:6a20:4323:b0:10c:2fce:96cc with SMTP id h35-20020a056a20432300b0010c2fce96ccmr1119003pzk.34.1684768979409; Mon, 22 May 2023 08:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684768979; cv=none; d=google.com; s=arc-20160816; b=mtB3Q2TCSQ9/BZpD7+gAAdxqgCr3Ri0i0yJF/jTbyBzytQJqVPkG3R1TQIASTQ0hlr ZpmL/+qMWMYWnR9sAU0lksgCCTDkPH3amVxC38PgU1mzxRIJKA9wL7dWlYvGinbW56xr 1gP0ntNR07yPubYbJ/iDh22KaJ9IIUGhwkfj0sdQ5dgatXox/Kr5AJXi6+/NPE1XVq8I 1ZmfSi7bZ7iavU1pz47tIYc9QARcA7oi6nZyaJT2+lgpKAq2R0/9urMkjb8V2aesQeqe YQYDkl1Z7o2iUe4RURmIc0igb4SQutwVe0GelaPS74vo+pWK45AMdChE3rp+cCHPN+uX XXJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=AY00RBUIc+/XHuSsDEXgZ3dvZbARzQKH+DxMjrHy9Is=; b=qIjYYsDQ0U32n8wT7Wg78FaXwzSnHjnAPbH+lazgL+MHjyB/OpiCcTA5r9ZBQQsURb UQhXlQ2MPN4EYWjASP7sTkLHucTWUzd921k8aSxHnHTpLSpCyL6EeCwgPUw+67IWzqAY egd6agKKlq1zE2agdrbFQb68ZersoeqlrVxxbPcoc9kJx8vDlTDXisBa4OqejjnhZRc1 /ofrgsXeyCxpCdJM63/dE8r60XBwO02xicu1FWKbfFN9YznmkjyaKakCVC+yllqR3BAr 4KhyYLFGgI4eZn3WdeLRf9oOthspckbeAhOziBIqqiY5zVrE1vNgxcJ51RaI98hLHNaP VQIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="ZlM5J/Zo"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f30-20020a63381e000000b005138de75d17si4911684pga.116.2023.05.22.08.22.46; Mon, 22 May 2023 08:22:59 -0700 (PDT) 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="ZlM5J/Zo"; 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 S234492AbjEVPMY (ORCPT + 99 others); Mon, 22 May 2023 11:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234443AbjEVPMV (ORCPT ); Mon, 22 May 2023 11:12:21 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD6ACD; Mon, 22 May 2023 08:12:20 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MDKZYx024592; Mon, 22 May 2023 15:12:16 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; s=qcppdkim1; bh=AY00RBUIc+/XHuSsDEXgZ3dvZbARzQKH+DxMjrHy9Is=; b=ZlM5J/Zo8kzt3vN9UylltzjMH+pJrjppLZTTULGUeeI2gLybOngbuQNt1MEtIybUlaPR YcMNLJnk2hzq5dqkmCoqw2Fuajdcs+tM6/uogF/5trS8OlyVQKx5kE4xDGK9A8E0Vkay rDeU5kZlh4vjM1W1ppuOmVIF9bC6H9UwGL3wO0U14ZofEP4dpeIzret5b+L1eSKghR2Q rdu9yS+SizyT/h05sQPAu0VjPzlONnJchAtB1vwyOZ/IPJBVcNGLi7+Z/aWFzmNRo7c9 FJD6uiLzWY0iW/fHrmTZ1f4nrLjv2ZxhJT2ZHzFONCVNeYrR32oiN2hHRkVNQpLGN4my Og== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qr6h0rnh0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 15:12:15 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 34MFC9en028911; Mon, 22 May 2023 15:12:12 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3qpq9kppn5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 22 May 2023 15:12:12 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MFCCwI028935; Mon, 22 May 2023 15:12:12 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 34MFCCsK028934; Mon, 22 May 2023 15:12:12 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 7471C5001C2; Mon, 22 May 2023 20:42:11 +0530 (+0530) From: Komal Bajaj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Komal Bajaj , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region Date: Mon, 22 May 2023 20:42:06 +0530 Message-Id: <20230522151206.22654-3-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230522151206.22654-1-quic_kbajaj@quicinc.com> References: <20230522151206.22654-1-quic_kbajaj@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: oqMbcKaVIxyZnQbmwO-XdDzj4Drqhcnt X-Proofpoint-ORIG-GUID: oqMbcKaVIxyZnQbmwO-XdDzj4Drqhcnt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-22_10,2023-05-22_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 spamscore=0 suspectscore=0 clxscore=1015 adultscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=581 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220126 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766608316939970628?= X-GMAIL-MSGID: =?utf-8?q?1766608316939970628?= Add a simple-mfd representing IMEM on QDU1000 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Signed-off-by: Komal Bajaj Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi index 734438113bba..4b52bebdbeeb 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -1102,6 +1102,19 @@ }; }; + sram@14680000 { + compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd"; + reg = <0 0x14680000 0 0x1000>; + ranges = <0 0 0x14680000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,qdu1000-smmu-500", "arm,mmu-500"; reg = <0x0 0x15000000 0x0 0x100000>;