Message ID | 20230117085840.32356-12-quic_sibis@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1645402wrn; Tue, 17 Jan 2023 01:04:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXsXygmbFUkXLKORQBahaP6iV5WKrqXaiXYTQUGwYhEeYjedLmztbhLQenT0Ev0mPd5tdv46 X-Received: by 2002:a05:6a20:3d09:b0:b8:54a2:b8d1 with SMTP id y9-20020a056a203d0900b000b854a2b8d1mr2426757pzi.57.1673946244371; Tue, 17 Jan 2023 01:04:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673946244; cv=none; d=google.com; s=arc-20160816; b=S5A/yDhZvyevZ9Syaw9piVtbkurJDuoTdRNfIofpYvUVPR8xAa03bQ+/0WK0yXSfOz 6GGDZPwZtmuwtn7XvJ+LgHTC8N2UFfOPX7UIYDiDhIGqYGB/Jegn/mR7A2W1WDsGCkFL ysyM9cBCQLDqr9Bm3NeJkklZWYjybct6Rh25ijWiKNobcGJRdjjjz+eXh8H71I825g/7 BVoPlQlAfG4CTa2g39kLQcEgXlrk0C5Ri3bQ//JVWN4fz/IJBgYK1Bxq6ke5IKD8D9RQ SbHmy1qByFRjggjFKjGq4MegSHOzTwWHBmGkDkoqauTFmPVWLzgVxzrAscLglxVdFWoW YbNw== 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=mtnZpF3bMcc8KDuBRvY1NQAi2IJmdvXhCWmQXAVfRmc=; b=xEu2GWfmJC8QjQF3+LXHG0YjEaiwyNL0aaaOS9ly1theMd9ZjOHiMofws3kX/aRP+F HTEkp2zqjv4PSvwpjFnb6LNfLrpoedbo5D8vB58wQdVprv19q3l0+OjLuI27jZTwTV2G YgwD8p/4Ud1NJvOvQ5nj7AVb5BNVqhTmCDG8thH1MBMoQ4ezShXBTZDOKxYIfCJTDP/r MDClDMmm5z5LwGwvAPuGhQqkJQ5QXBgn/7xlQ9FLSiQKVntAVKf/cFvczhHkeNdsRPxn /O47WdorUs3I9p8DfZJXI9Nyff65Mi+D0mNOKwz/+uk90tr5YAaEIHkBMVel+djjEx/i y1Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jhwGdyZT; 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 m21-20020a635815000000b004a7d852ec6fsi31843400pgb.285.2023.01.17.01.03.52; Tue, 17 Jan 2023 01:04:04 -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=jhwGdyZT; 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 S236360AbjAQJCU (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Tue, 17 Jan 2023 04:02:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236252AbjAQJB0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 17 Jan 2023 04:01:26 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 943853018C; Tue, 17 Jan 2023 01:00:06 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30H8uoho021111; Tue, 17 Jan 2023 08:59:55 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=mtnZpF3bMcc8KDuBRvY1NQAi2IJmdvXhCWmQXAVfRmc=; b=jhwGdyZTPi7JIl0YyCueEWB0gpLx9vtTF2mMxAy8KQuLSk3O3vxPveGjri+Y0GUUdyQ9 lbYfRUQ44/cGU1Izh/LOJDJcMXgsal5yEjzUR94aGYq8WFIxFrsyTmHLimyi0NaI6cAJ RKGu0kZJramEvPXRE7Kk7qkZf5Hotl6LTtdg1pbf+ymAJGhy7xBGUbJhLwUMR6ZV4X+K AFFvhH1utIQDsXtPsJGj5nCNgAGmrPrqBZN64p6mAGkweFEAqlJ3a/HgbR2+DFxdOMEa DHs/9qBYBSLpJDpfWXBKluKbpp44uJm96Rq0rGSqfPlYlWxoshquFcTQYYS+iJ8j+ZXn vQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n5pbm88c8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Jan 2023 08:59:55 +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 30H8xsCi008660 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Jan 2023 08:59:54 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:49 -0800 From: Sibi Sankar <quic_sibis@quicinc.com> To: <andersson@kernel.org>, <manivannan.sadhasivam@linaro.org> CC: <agross@kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <robh+dt@kernel.org>, <konrad.dybcio@somainline.org>, <amit.pundir@linaro.org>, <regressions@leemhuis.info>, <sumit.semwal@linaro.org>, <will@kernel.org>, <catalin.marinas@arm.com>, <robin.murphy@arm.com>, Sibi Sankar <quic_sibis@quicinc.com> Subject: [PATCH V4 11/11] arm64: dts: qcom: sc7280: Add a carveout for modem metadata Date: Tue, 17 Jan 2023 14:28:40 +0530 Message-ID: <20230117085840.32356-12-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-ORIG-GUID: hqrbC3FmbYu4_-0EwApIPDk5tQZr0MFH X-Proofpoint-GUID: hqrbC3FmbYu4_-0EwApIPDk5tQZr0MFH 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 spamscore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 adultscore=0 suspectscore=0 impostorscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755259856854245315?= X-GMAIL-MSGID: =?utf-8?q?1755259856854245315?= |
Series |
Fix XPU violation during modem metadata authentication
|
|
Commit Message
Sibi Sankar
Jan. 17, 2023, 8:58 a.m. UTC
Add a new carveout for modem metadata on SC7280 SoCs.
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
---
v4:
* Use size/alloc-ranges instead of a specific address [Bjorn]
v2:
* Split dt/bindings per SoC [Krzysztof]
arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi index efd513164501..a5f7cbe8a53e 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi @@ -17,6 +17,12 @@ reg = <0x0 0x9c700000 0x0 0x200000>; no-map; }; + + mdata_mem: mpss-metadata { + alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>; + size = <0x0 0x4000>; + no-map; + }; }; }; @@ -37,7 +43,7 @@ iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>; interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>; - memory-region = <&mba_mem>, <&mpss_mem>; + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>; firmware-name = "qcom/sc7280-herobrine/modem/mba.mbn", "qcom/sc7280-herobrine/modem/qdsp6sw.mbn";