Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4264300rwl; Mon, 3 Apr 2023 02:19:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZFpcaTrU+bXokd7FmN4pzHOKkXd6kmn+h9EltNya1kKJErXurOOkgbzv69N75/LzKMweUp X-Received: by 2002:a17:907:1c1e:b0:931:7c20:f75a with SMTP id nc30-20020a1709071c1e00b009317c20f75amr43465669ejc.53.1680513594003; Mon, 03 Apr 2023 02:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680513593; cv=none; d=google.com; s=arc-20160816; b=dXs0Z/CotxxEeK8sneSJXkoQl+2NRSFKCIP6Y7mghmO3u5GwPTym1kVf9vpHsVKA/5 LIMJK12dbgLthIKF9dCavnN490dEcYfbEdjglZXpNwV7nle/PUkqLkP1h3ozgTM0u0af 0q3GR67HNFBUxWJbzB9WHDZw9ViD8fBJlz0ArD+VZX8uKiKYfXNLs7ll9wNAU/gD5T6B 2IuYr8tdalAr7okV7iYHW3ua6q7SZg+wW+JQ/S39GfYopo7p44mBCH45/EIU6K7evbJ7 uGo/fGocCSQhgI5jHMpTDGOnPKWmKprq7Uyn7bzqgEl+piIzeUKbTkfV2uHLBzrTl5Bu PnqA== 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=PA804Cxk+HJS0/uRBgkxafWT4cyJ26a197Msc8ZQiwrlUARN3xQlTTPst01r5WWaCu dBIpM2hddLD3BzjeSOOjs6KPTpfmSBI0VmJWTDyuW7zrc7+W58+h8fTFylX36H3QUnWU 9ZNC9BuPHgUYy9yFyQNTOXd4mMIA+UNp9nd5gz6E7EYL3MWEXLZJZx+3ttieThAuyarb ch9Of3qmTX1MKaH92XAbXgKRTIaJbKg14JZIgYWDW703BAArFgZXwodsVT3kf8+ejk7r dnQZyhjdFDu1X9FaXvnm3WADFGioZlCDEy572vuUU02FyIo/1r067HtXLO0hvDtvZL16 tbDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=NTgazaVR; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020a1709067c0600b008d0378ec19fsi2653192ejo.650.2023.04.03.02.19.30; Mon, 03 Apr 2023 02:19:53 -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=NTgazaVR; 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 S231844AbjDCJRr (ORCPT + 99 others); Mon, 3 Apr 2023 05:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231923AbjDCJRU (ORCPT ); Mon, 3 Apr 2023 05:17:20 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1031113D8; Mon, 3 Apr 2023 02:16:52 -0700 (PDT) X-UUID: 37cc15c0d20011edb6b9f13eb10bd0fe-20230403 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=NTgazaVRHp6WKebDt0Qs0fsfaTl96XnI7URPDHZrD4cIhpuNwiXmdBPr4Qw9+dYZdtJd+PpTtdu9DOsR+yWqA8dIgQxnur4+x/MUxq+lfjXvP3ZwBGnGwa4ROfW8WIx1YksQpeYZZxqJ849fHy3LIjqVmDTDqtugYrYU/LTHMu0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:4656bfbc-1e6f-46cf-acb5-b4266f981a79,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:120426c,CLOUDID:79a0b1f7-ddba-41c3-91d9-10eeade8eac7,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL: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: 37cc15c0d20011edb6b9f13eb10bd0fe-20230403 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 61397968; Mon, 03 Apr 2023 17:16:29 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Mon, 3 Apr 2023 17:16:28 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Mon, 3 Apr 2023 17:16:27 +0800 From: Yong Wu To: Joerg Roedel , Matthias Brugger , Mauro Carvalho Chehab , Rob Herring CC: Will Deacon , Robin Murphy , Krzysztof Kozlowski , Hans Verkuil , , , , , , , , AngeloGioacchino Del Regno , , , , Yunfei Dong , kyrie wu , , , , Yong Wu Subject: [PATCH v6 14/14] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node Date: Mon, 3 Apr 2023 17:13:37 +0800 Message-ID: <20230403091337.26745-15-yong.wu@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230403091337.26745-1-yong.wu@mediatek.com> References: <20230403091337.26745-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: X-Mailing-List: linux-kernel@vger.kernel.org Prepare for the MM nodes whose dma-ranges(iova range) is 16GB. Signed-off-by: Yong Wu Reviewed-by: AngeloGioacchino Del Regno --- 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 { -- 2.25.1