Message ID | 20230307023507.13306-12-yong.wu@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2209232wrd; Mon, 6 Mar 2023 19:06:16 -0800 (PST) X-Google-Smtp-Source: AK7set9jCNSO/ReMdzJ9pMwYxGawDVVLgA9G3L2Lt38fXJu/I3VcBe0vSA2LeI4JRyF79coRk4B3 X-Received: by 2002:a17:903:22ce:b0:19d:90f:6c6c with SMTP id y14-20020a17090322ce00b0019d090f6c6cmr16729918plg.17.1678158376000; Mon, 06 Mar 2023 19:06:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678158375; cv=none; d=google.com; s=arc-20160816; b=pVmRPxqDT8gaXAuACy4jIA4rQgm2Pe3NyPfycRFZuNNyHMu567lD2xE5KMK3rxSm4d iCrypxpI8kvhZogfd8mjf4JHfnIP6DD+Zk1pzNAKHXp6Oyi7iTrEyL7pU7ScgttJ1/dx qxTxVqABIzXuyBBlDi+KUafwhsLreP2DdJyA4PNs7yD47+1fBtv0wFEAS+kj0+Tn2PAV B4AJDWxgQ2wI+d6QWMAg4U4E2xM9EKVlAjsMHHJurhh7aED6ZBbyPTdAz91xSd+fVjIJ duhMNPMu5FF4amnE2kaGbWc3IravKEIwpbgSXCGmxpSsTVv1nSybxxnm4V0gVmi8dUY+ hAMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FJB8NsPpg9GUe4KvEeOfItKIQWjs0rG8Qvtk+6JhZk4=; b=pwgyPorHuT1cK7OguGUHufrqQya2flbgqDA6Ylc2wSz4/CaOVaCueub+h1L4mporup th4bxXNK+3ZTKNadkxkg4+/Ip5NlpUbNJsJB/tZ8J4OZjWibcabXF0v7mDVZtlZnzCne RvaGxo5tSNWNaO3pShqRSdZGiyWkmW6HziVAw4g3Q1zNC6teJMkVUjqTdsDF3R4fBAtt VJ4hM9R5PUgF/m7oVG3febjw4PCPqZlBRojsqydMSgGL73OSs7f6JuMttnXHt95QB3T1 mwYh/eH7gxtGP2evQWw4glEkY93puCtDcW2OJFWoNyw/FTldV874ItwN/JIz8C4h4IhZ GxfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MPwUKPPU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r10-20020a170902be0a00b0019ca3bea310si10283006pls.303.2023.03.06.19.06.02; Mon, 06 Mar 2023 19:06:15 -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=@mediatek.com header.s=dk header.b=MPwUKPPU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjCGCzz (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 21:55:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbjCGCzx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 21:55:53 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB5E165057; Mon, 6 Mar 2023 18:55:51 -0800 (PST) X-UUID: 0a80d922bc9111eda06fc9ecc4dadd91-20230307 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=FJB8NsPpg9GUe4KvEeOfItKIQWjs0rG8Qvtk+6JhZk4=; b=MPwUKPPUw2NhOdKQAn+rJPJQFBm8M/TAuZdApDYjbyHK5FZj2U7FJs9W129qSD61nYeis9/PQ34SOtg5HMxVZYGkn+1SZn1g62JmQVxvuizuicfXAoD/O5HwaeO2d/RlivvlhbwgRSk+7899VekG8XjFKQKML7hN/zcxPIixDQA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:ee7b31ea-de1a-4bc8-a09b-e855b74347fd,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.20,REQID:ee7b31ea-de1a-4bc8-a09b-e855b74347fd,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:25b5999,CLOUDID:2332f7f4-ddba-41c3-91d9-10eeade8eac7,B ulkID:230307103746U8FK2UNR,BulkQuantity:0,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-UUID: 0a80d922bc9111eda06fc9ecc4dadd91-20230307 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from <yong.wu@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2054559784; Tue, 07 Mar 2023 10:37:45 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 7 Mar 2023 10:37:43 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Tue, 7 Mar 2023 10:37:42 +0800 From: Yong Wu <yong.wu@mediatek.com> To: Joerg Roedel <joro@8bytes.org>, Matthias Brugger <matthias.bgg@gmail.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org> CC: Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Hans Verkuil <hverkuil@xs4all.nl>, <nfraprado@collabora.com>, <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <iommu@lists.linux.dev>, "AngeloGioacchino Del Regno" <angelogioacchino.delregno@collabora.com>, <mingyuan.ma@mediatek.com>, <yf.wang@mediatek.com>, <jianjiao.zeng@mediatek.com>, Yunfei Dong <yunfei.dong@mediatek.com>, kyrie wu <kyrie.wu@mediatek.corp-partner.google.com>, <chengci.xu@mediatek.com>, <youlin.pei@mediatek.com>, <anan.sun@mediatek.com>, Yong Wu <yong.wu@mediatek.com> Subject: [PATCH v5 11/11] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node Date: Tue, 7 Mar 2023 10:35:07 +0800 Message-ID: <20230307023507.13306-12-yong.wu@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307023507.13306-1-yong.wu@mediatek.com> References: <20230307023507.13306-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED 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: <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?1759676597636718447?= X-GMAIL-MSGID: =?utf-8?q?1759676597636718447?= |
Series |
Adjust the dma-ranges for MTK IOMMU
|
|
Commit Message
Yong Wu
March 7, 2023, 2:35 a.m. UTC
Prepare for the MM nodes whose dma-ranges(iova range) is 16GB. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index a0d3e1f731bd..251eace411c0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -324,6 +324,7 @@ soc { #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; + dma-ranges = <0x0 0x0 0x0 0x0 0x4 0x0>; ranges; gic: interrupt-controller@c000000 {