From patchwork Tue Feb 14 03:11:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Wu X-Patchwork-Id: 56645 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2730520wrn; Mon, 13 Feb 2023 19:15:49 -0800 (PST) X-Google-Smtp-Source: AK7set9ssQIGU+Q1wf5ztdJQmFHn0JEZM/IX36qx3YLMuirLe+/3FQy/+WudYqX8XQsMF/0+mlBv X-Received: by 2002:a17:902:f104:b0:19a:a5f6:a3c1 with SMTP id e4-20020a170902f10400b0019aa5f6a3c1mr841366plb.3.1676344549304; Mon, 13 Feb 2023 19:15:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676344549; cv=none; d=google.com; s=arc-20160816; b=k6WEsMwpfU19/YmvwO7afM8HlxyY4W/oYgYAIAARD60sgB5pQSmGSXsGCK2fb+81lG DIfBmbluqqSKzsqc1Ugnvm4GzcChD8Qe2US8rdY0gBm7AjsQVxZ5sG1f2Vfz2hPLjDvv QrPNMcsoehSQ2Un9OK6CxaRiLzHB+EZVno1W0LkEK0554o6WPJVRthW+mAjGzE1HmzyT wathY60HAFX2hk1TysVm3wE5NbltudZnIkChcH5hL5VjYTM2WLNaYAJRDRxnaB98MwpD v0vpM3iOeUhzgr1e1Cpc7hBneT9av5ZWesMMVT5A5yXYQyAuyNNrMWJQAM+y2rgmkJt+ lsow== 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=BZeA43XoOAkEaxyj8RL5V/54tyfKVdYzibdG9XTu4Dc=; b=gCQlKzKiWQl2FKShBti6SGy/gohtum6Wj+A6QeStQt4DFWcxIyU79Gjk6yyTAmFfOR z//+lv+ug2RYn/gqzkl+92iIFu7owSO1W/CNNaiRqIfxrAuyWF8V6Gj3sn6vv5X/DQr+ Vew+iroAm6NzCatGLRx7w1vxhii9bZBHXq7yH2YCjX+hiE3D/QdFrTc81CXW3/urfcgO aT6QYO3ulfhGeIOFFJHzojeBO7ddb8larzNKHQVEdZZBnEa8lvdWv0XFJ2meOtK0XppT uvjZtMxpaMu4kMsSU4hGGqHzKIAPIc1Ms3YtoJ2WfqdI3A2gbb400IwTc2l3cuFirNyO RBsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=JTiA+kaA; 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 c17-20020a170903235100b001963a56658fsi13915078plh.105.2023.02.13.19.15.36; Mon, 13 Feb 2023 19:15:49 -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=JTiA+kaA; 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 S231360AbjBNDOE (ORCPT + 99 others); Mon, 13 Feb 2023 22:14:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbjBNDOA (ORCPT ); Mon, 13 Feb 2023 22:14:00 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF5AE1C310; Mon, 13 Feb 2023 19:13:31 -0800 (PST) X-UUID: 8ce10694ac1511ed945fc101203acc17-20230214 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=BZeA43XoOAkEaxyj8RL5V/54tyfKVdYzibdG9XTu4Dc=; b=JTiA+kaAoPG699J7iYsY/U3lHvBGKTpPr6BGmtbL+lIGCrXyezsFogXjBofgyjTDZZ8R+lrCEALFrwSRdkcrq+wypdQu8rWaxRBQ1SX+K1LUC0qAjVhu1HTiAvv4q0Rz108WGyG0qLnWg7ZN+X7Drie9U8RfJSEy/E9tinWXgeA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.19,REQID:faabf7ab-c3de-48b3-a5d7-4971d12ce280,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:885ddb2,CLOUDID:ccd55bf8-ff42-4fb0-b929-626456a83c14,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-UUID: 8ce10694ac1511ed945fc101203acc17-20230214 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1444860566; Tue, 14 Feb 2023 11:13:27 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 14 Feb 2023 11:13:26 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 14 Feb 2023 11:13:24 +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 v3 11/11] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node Date: Tue, 14 Feb 2023 11:11:14 +0800 Message-ID: <20230214031114.926-12-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230214031114.926-1-yong.wu@mediatek.com> References: <20230214031114.926-1-yong.wu@mediatek.com> MIME-Version: 1.0 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 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?1757774661740454457?= X-GMAIL-MSGID: =?utf-8?q?1757774661740454457?= 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 @@ #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; + dma-ranges = <0x0 0x0 0x0 0x0 0x4 0x0>; ranges; gic: interrupt-controller@c000000 {