From patchwork Wed Jan 11 11:43:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 41934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3271459wrt; Wed, 11 Jan 2023 03:47:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXuhiOK8JxfTa7YITU6fZ8XX3lrK9PqcH1mlt+xUVTHeSbBVPWjpu9gQ31G5iluK7NxebWsu X-Received: by 2002:a05:6a21:8cca:b0:a9:fddb:9eab with SMTP id ta10-20020a056a218cca00b000a9fddb9eabmr2493992pzb.41.1673437627177; Wed, 11 Jan 2023 03:47:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673437627; cv=none; d=google.com; s=arc-20160816; b=v5N3XbONZ6D6NPvKGRA5Wmzew7f05BuP9O/GnodtkQpVELwuinO5rNJGXax/OdHTHc 2w5qbOVP6F4C5GhcoGdDSO0+bj2a0aLa01uV80Qufi7vodnaJbdNVdxaUiPjjN5EPPQR ThmEJhyROOcYZjx8uQqsVj+hgQwgiUplGcvhIVdN2o/pS4Dl3zAwRTVkBxNdym5rpNbd KSAQM2JkWZausnsBkzC0PL5MIEzYaTos20fWKyBMEEWjAjVxLkYKJ8Gw3fJNyZiemWad 6ZTy7D+GUU0pWuqE6Xbzx/MPbb5sxM8qgLOx7NYGuCHLkexLmVuRcaFjFqko91ttmRFJ TcoQ== 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=ooZfUzFJ44IiNEEoXu0Sn748/YFqHWyDd93tAjeCDJ8=; b=OAMMvttJdK+nU14eHUeKgTpc41mlx/YDG3RhI1c//1DDNn+MclOALf6uaN8iXiAIMQ YGylEn7WxGr0/uP7zJR0DzSdoiYIcGCZpQY7v/WMvuH4rgcE/SEZuRpiLiXywIOHLh4u hRkHJvHM3tPMq0lLN/RtP1yAS1l7ItedaxDkd4ZA2/RFC3h6UfenR4Im8fm+hmyfihKp 29zZq109gc0F7kYh5YUI6ng9jjM1Iw/fIxmpQbZISGP9+I9UW0v+WNu04bxHZJ+yGZmG MQkmplPa1PqcyAmKO0mxWYPRyoU0F+9kIayo6wici6qatxrIF6c1bdytY/41khh5uNIh rrlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NwW8JWRM; 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 g1-20020a631101000000b004786b75fb89si14095441pgl.846.2023.01.11.03.46.54; Wed, 11 Jan 2023 03:47:07 -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=NwW8JWRM; 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 S232655AbjAKLqf (ORCPT + 99 others); Wed, 11 Jan 2023 06:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237682AbjAKLpn (ORCPT ); Wed, 11 Jan 2023 06:45:43 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5BD6AE4C; Wed, 11 Jan 2023 03:44:39 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30BALna3029995; Wed, 11 Jan 2023 11:44:26 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=ooZfUzFJ44IiNEEoXu0Sn748/YFqHWyDd93tAjeCDJ8=; b=NwW8JWRMB4hzMiddEhEGSjpl4Q7X6lp6ERKMNPjLkT51fXNMb/NvjEr/uYEhMYUMrdy0 3D74TWO91lR34k5U7McQ49wFAyRFnnqHaSLRmtEwHAjEZre2gG8NcDVm4XUVLWeunzd1 lDrQ+DkZZRoLvHlxktwSNLdYMmJWLjT5nB5O2WmQhEG/1yI4tpI31wg8BHJAxsdwefx7 EcpYF3cQbHFWNkcmkNtGT7xyqotLPnEkbGOI7Lq+9uTDTUpiAZQW9Cp32JBBMbTKPIqg y+Oh1llXVe2jkTCDTqM0B4QSfX1PbmtD8uiWLlWTaa3k4C1Qj7+5F6xB7iCeN+b68nde lA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n1kxhh4ty-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 11:44:26 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30BBiPMl024878 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 11:44:25 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; Wed, 11 Jan 2023 03:44:21 -0800 From: Sibi Sankar To: , , CC: , , , , , , , , , , , , Sibi Sankar Subject: [PATCH V3 06/10] arm64: dts: qcom: msm8996: Add a carveout for modem metadata Date: Wed, 11 Jan 2023 17:13:33 +0530 Message-ID: <20230111114337.24782-7-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230111114337.24782-1-quic_sibis@quicinc.com> References: <20230111114337.24782-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-GUID: YdhbgHZacpiHbCpQwmqK8UMdAyT_KU4Z X-Proofpoint-ORIG-GUID: YdhbgHZacpiHbCpQwmqK8UMdAyT_KU4Z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-11_05,2023-01-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 phishscore=0 priorityscore=1501 spamscore=0 bulkscore=0 adultscore=0 clxscore=1015 suspectscore=0 malwarescore=0 mlxlogscore=782 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301110087 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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?1754726533508781426?= X-GMAIL-MSGID: =?utf-8?q?1754726533508781426?= Add a new carveout for modem metadata on MSM8996 SoCs. Signed-off-by: Sibi Sankar --- v2: * Split dt/bindings per SoC [Krzysztof] arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 6 ++++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi index 5b47b8de69da..4242f8587c19 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi @@ -127,6 +127,12 @@ reg = <0x0 0xf6f00000 0x0 0x100000>; no-map; }; + + /delete-node/ memory@91700000; + mdata_mem: memory@f7100000 { + reg = <0x0 0xf7100000 0x0 0x4000>; + no-map; + }; }; vph_pwr: vph-pwr-regulator { diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 87ff66ebde7b..2756ba5841a1 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -462,6 +462,11 @@ reg = <0x0 0x91500000 0x0 0x200000>; no-map; }; + + mdata_mem: memory@91700000 { + reg = <0x0 0x91700000 0x0 0x4000>; + no-map; + }; }; rpm-glink { @@ -2462,6 +2467,10 @@ memory-region = <&mpss_mem>; }; + metadata { + memory-region = <&mdata_mem>; + }; + smd-edge { interrupts = ;