Message ID | 20230411093144.2690-15-yong.wu@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2443526vqo; Tue, 11 Apr 2023 02:37:49 -0700 (PDT) X-Google-Smtp-Source: AKy350YDjDavbWl7rtsNMY6HNRn/GPoILGhim92XXCrjdEG0UoC15koEWp5NTZ99iapFYg5nd1zH X-Received: by 2002:a05:6a20:aea5:b0:d6:91f5:2b10 with SMTP id do37-20020a056a20aea500b000d691f52b10mr12683630pzb.58.1681205869096; Tue, 11 Apr 2023 02:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681205869; cv=none; d=google.com; s=arc-20160816; b=KpBu4pdb6iqP8WeJHqVgdOkT5fLdSEzSESjfJnrg0iIXC4xGvDVsYwFGCybNqkRoLu 7ETHVLfBhhnRsUYafvHyYUFEYpYjIHBqokPnP98Eu3nzy4mzQ4Hz9GjlDzvD5XLW5pOm /JK5o+XQj1wCOxtNk8z0IxbES3I6IMFTQ2kruuanip7VCwC2iqjUKK5RYQJh0YNC5+pS z8Uby0u6tWkddePhngOh5W/h6jONaKisfXQQY3TxnVRVjj1JsuaWLPbqs/fJtg3oXZMY fEvNhgEjJYj2wdB+sm1R3tYtpNR+KZUKY/HcvCAuzudD07HPR5LB5dtX3xXEs6fSFpEb XjjA== 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=ehl5F7STQi4NZKa+hQjUez6k2Jp/JfB5G7Otoudd8PK+DjpjpiGAZiNZFRINHcerMQ 9lq10nmdG9OqiRWqSD84ESO6NtT7HLIGviD4KNghjcUaorDlF4pNFzRzc4IFDv6fVgAZ 5s4Z5QhyH9PtsnJHpSPJ35WZ4PmH69YyNtgEmObYRJVGiKuu+73G1Xu2d23D6J0Y8ZMJ iVP0JeKsN3JohA3TxxYmaRIXh431LOQMHkqqZKbT6Dmj/M6/v1+AeypnrpzoEO9WH+3Q lWWp+A0jUS8AgkwUUJyJt0XMf135W1HKegGDYPp7fT4eR+t5IyDTptGb32OWf44AbyA4 UTaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=b+AMT+Xn; 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 e9-20020aa798c9000000b0062dabed8063si13464925pfm.337.2023.04.11.02.37.37; Tue, 11 Apr 2023 02:37:49 -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=@mediatek.com header.s=dk header.b=b+AMT+Xn; 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 S229477AbjDKJfd (ORCPT <rfc822;yuanzuo1009@gmail.com> + 99 others); Tue, 11 Apr 2023 05:35:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjDKJfE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 11 Apr 2023 05:35:04 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DF4049DC; Tue, 11 Apr 2023 02:34:27 -0700 (PDT) X-UUID: 08362470d84c11eda9a90f0bb45854f4-20230411 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=b+AMT+XnvAGPT88F9pHhoTWnDTBlEUXAdInQrRV2sREYk5JZgvDKio7QES4foLcdSbH9Y1u8BG9cn1dytsLGFa15t4BKJk+/QlegX5/9EEZFIxsxarw+S1udKr9hXtjlN1h0U5DLKe/FhU6A2u/fwarWeSQ7wzrjNDYTjhbVLik=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:6742e78a-7dda-4b0d-bea4-557ea5522031,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.22,REQID:6742e78a-7dda-4b0d-bea4-557ea5522031,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:120426c,CLOUDID:6282f3a0-8fcb-430b-954a-ba3f00fa94a5,B ulkID:230411173421R9C3OIDW,BulkQuantity:0,Recheck:0,SF:19|48|38|29|28|17,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-CID-BAS: 0,_,0,_ X-UUID: 08362470d84c11eda9a90f0bb45854f4-20230411 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] 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 527929262; Tue, 11 Apr 2023 17:34:18 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 11 Apr 2023 17:34:17 +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, 11 Apr 2023 17:34:16 +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 v7 14/14] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node Date: Tue, 11 Apr 2023 17:31:44 +0800 Message-ID: <20230411093144.2690-15-yong.wu@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230411093144.2690-1-yong.wu@mediatek.com> References: <20230411093144.2690-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=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY autolearn=unavailable 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?1762872125393663521?= X-GMAIL-MSGID: =?utf-8?q?1762872125393663521?= |
Series |
Adjust the dma-ranges for MTK IOMMU
|
|
Commit Message
Yong Wu
April 11, 2023, 9:31 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 {