From patchwork Tue Jan 17 08:58:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 44573 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1644566wrn; Tue, 17 Jan 2023 01:02:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1Vs1SQDOitnZkafCmLzclz/C35ntsJSXAh8k5iqZLGNK46oZNUiIKRq2pNyKYzUdlQM2K X-Received: by 2002:a05:6a20:1456:b0:b8:a846:a67d with SMTP id a22-20020a056a20145600b000b8a846a67dmr3231279pzi.57.1673946152944; Tue, 17 Jan 2023 01:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673946152; cv=none; d=google.com; s=arc-20160816; b=Nf3V1LHdFqBbYG64GpeXDPmCaSkyzGEBqaS9wRbPNgjwXo8eBp9Vfh0MahAuNs/VEu SlvXoNwi0Jzc203/4xj5r1wOQqrlCE8j8Npyui4aQ/mAcMj1oGvN4EZzbCmF55+QGhgF s1Oz15qxSLBHNTE86H+LizcpJK1WBLxnZ0GIFMaUggDQF4UEZK5RfNe51mIQwm665V1F M7XTupDdHHRhOKO1Gi5n4oMr5iJ+zrz/jOhRNmLaoVR7MzmavrUKJE/hXw5BQCW54Ivm cUWNAmKW3S5c3YgnbQwhUXwwiQAAc07Yfycgm4/CAhuqVcNWAnWwthGP7VD7Rcmf/RkX ztEA== 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=NgkA+1vrObk4AjikLPE9Q4yKioMB6/acpl3IzN8i4tQ=; b=okvWAg9jiCf8EUv7dTSRdDmxuoSqCmyz3mMsuTFqTGQ0kJeXCBNYgOmJsb+xuEKHOn Ex0tnTsxpiYWQJz3SwfBhipztN6Adl/JmUjm4c/ffRSWqmBgT+YJ54hrR813xbL80LTZ Yztykij+QTjexKQPJMNvoVoiGniqXNF0in0MjZhSNSxzoMXS7NYvEFqH8fmv310HZkpC QsXf6+HN7sY2DCSHEjF8vm9iR/mK8er9W/COSIxoYhV3pA+ebU3pX6276GBuBUEt2U41 f1Zr5HrFIvm6ning5OOEs2+JcVj5ImToJZ8YVH0Sv9AHY6H4pvr0YdZ3CmJyG+TLy36A mCSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Qiafja4v; 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 u185-20020a6385c2000000b004b668a36b0bsi1918720pgd.492.2023.01.17.01.02.20; Tue, 17 Jan 2023 01:02:32 -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=Qiafja4v; 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 S236323AbjAQJB2 (ORCPT + 99 others); Tue, 17 Jan 2023 04:01:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235761AbjAQJAY (ORCPT ); Tue, 17 Jan 2023 04:00:24 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF6FB2F792; Tue, 17 Jan 2023 00:59:53 -0800 (PST) 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 30H8JruU032637; Tue, 17 Jan 2023 08:59:41 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=NgkA+1vrObk4AjikLPE9Q4yKioMB6/acpl3IzN8i4tQ=; b=Qiafja4vKt2u7uVNiI8k6ZN4d6skSRZ5ZSUnSmZZgiDFA6Lyu0GnI4famhTsVGxf9Yw8 pHjhahW37SDGothV6aSZcP4lHLDOWuFLpQpckL5QkkSBznPi3JBFNgIEAYldmLSd44nP Gm/Wnt6XE95W+aOH6NGZ35lhM/F4hFwNfEEP69ut0LWShd0QhgOHdHdOzMT42S86Of+P KZ+HGjNd2btA8JasocxPSiNFrhCjUOSLajIb2xm5JpVXQDW5Ed6mVE/Yqk/Fv/f5WbKS Cyzdv7+kZg1bbyXz1lOdsxEtRZDPFZCz0Ht6zoSAm44pIjTZX6jCR8T9vsh8KwZT/H1X qw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n5r2qg27p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Jan 2023 08:59:40 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30H8xd4s004149 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Jan 2023 08:59:40 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:35 -0800 From: Sibi Sankar To: , CC: , , , , , , , , , , , , , Sibi Sankar Subject: [PATCH V4 08/11] arm64: dts: qcom: msm8998: Add a carveout for modem metadata Date: Tue, 17 Jan 2023 14:28:37 +0530 Message-ID: <20230117085840.32356-9-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 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-ORIG-GUID: t7KRIHIEmjul1oyubG9064NCHu_IjiZh X-Proofpoint-GUID: t7KRIHIEmjul1oyubG9064NCHu_IjiZh 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 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 bulkscore=0 mlxlogscore=894 mlxscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301170075 X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1755259760770284786?= X-GMAIL-MSGID: =?utf-8?q?1755259760770284786?= Add a new carveout for modem metadata on MSM8998 SoCs. Signed-off-by: Sibi Sankar --- v4: * Use size/alloc-ranges instead of a specific address [Bjorn] v2: * Split dt/bindings per SoC [Krzysztof] arch/arm64/boot/dts/qcom/msm8998.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index a527206f77e4..8bc1c59127e5 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -108,6 +108,12 @@ reg = <0x0 0x95700000 0x0 0x100000>; no-map; }; + + mdata_mem: mpss-metadata { + alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>; + size = <0x0 0x4000>; + no-map; + }; }; clocks { @@ -1357,6 +1363,10 @@ memory-region = <&mpss_mem>; }; + metadata { + memory-region = <&mdata_mem>; + }; + glink-edge { interrupts = ; label = "modem";