Message ID | 20230215062544.8677-12-yong.wu@mediatek.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 s9csp37535wrn; Tue, 14 Feb 2023 22:48:14 -0800 (PST) X-Google-Smtp-Source: AK7set8yP+Zes+kD3SUV2CSiRcVvcLy4LMOIBUX9GXOyJvYCYP6/bn3Lyes/C6Jz9eUAx1/OYlHi X-Received: by 2002:a17:906:ae50:b0:878:8249:bef6 with SMTP id lf16-20020a170906ae5000b008788249bef6mr1248311ejb.59.1676443694166; Tue, 14 Feb 2023 22:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676443694; cv=none; d=google.com; s=arc-20160816; b=ZP3d2i9bsqI/pT2NuhlVHg9834uCLxGJwZTSKC8EnLtxBmKphzUEqPqs9bKkNa6rkn f7BSzJvfyzZU/4s6N/uN8Lhofo7h4JrQFJRjPdcl/tIuQTMpVyR94RWdmuKDV0ynHK70 gYIcuDyzDM3k++9FIe8eBJTqgVe0vlEWlHhU8oHLvzUMMEPWGL/qRkDBaQfD420sCpos +w3rGtcCUy2hKjVy6qnOhson3qdC5jR37rOQz2ncFC1AqSrHg2vxawj+xyJFwOxrdKGt cN3T9gzv/t9SyE/nvRJi8auC37Z5HzaUN7AUGPNa+o934kiA6blU4eVf3ogdTIQxhRae kbew== 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=BH0icRWffCzmHq4y0rfoRY/QtkgRAMmT48mCSREjof7jTSABv3SCYj4V+wMb+VKSQN LuxfBriAZy6VixySiSqshhJrAGWsotFJlOTl5oJVQqpjvdSI9LLqkjO9m9875lZur5Vc 5/vj2mfmrj0fNgL/RqI4Ay5W74ErgfwykuF0Ri3FSaDLrbsTglFqcwhHf1MtYXN3ZnZB GopYy6u/c0Le+SdWqkxlAl0NLcP+NAWE7EINF86u7hafpFYe778L4WF6gcCZBG2qV2qJ Z09BjayVpZ05B3omWIJeAuZhz1DcwosR6vC8hvQk7iYe9hdTu7CfCfZQcjRkTyY3L6fz zKrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZGRurWuj; 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 26-20020a170906009a00b008b147554303si797560ejc.991.2023.02.14.22.47.50; Tue, 14 Feb 2023 22:48:14 -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=ZGRurWuj; 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 S233148AbjBOG2z (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Wed, 15 Feb 2023 01:28:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233410AbjBOG2v (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Feb 2023 01:28:51 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6427E311F5; Tue, 14 Feb 2023 22:28:28 -0800 (PST) X-UUID: eb163dd0acf911ed945fc101203acc17-20230215 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=ZGRurWujtxttC3b1CTsAS9D4DsEJM62Sy3VqQgk3ygjZsoP8wlF1343tj9S9yUA25oOMc/H8wy22OV5BhxlwNw3bbQq2wtvRjzXrkRzrs9/Y4DFjRDKEQgbTtAGj1KnYHGNhSYk1tTkKUm03v/S3fJqxWrWySqOf8KfuVj128Ho=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.19,REQID:d31faf85-5213-4142-b3c1-909529df2372,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:bf519f25-564d-42d9-9875-7c868ee415ec,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: eb163dd0acf911ed945fc101203acc17-20230215 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw02.mediatek.com (envelope-from <yong.wu@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 107328126; Wed, 15 Feb 2023 14:28:10 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) 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.792.3; Wed, 15 Feb 2023 14:28:09 +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; Wed, 15 Feb 2023 14:28:08 +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 v4 11/11] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node Date: Wed, 15 Feb 2023 14:25:44 +0800 Message-ID: <20230215062544.8677-12-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230215062544.8677-1-yong.wu@mediatek.com> References: <20230215062544.8677-1-yong.wu@mediatek.com> MIME-Version: 1.0 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 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?1757878623079635201?= X-GMAIL-MSGID: =?utf-8?q?1757878623079635201?= |
Series |
Adjust the dma-ranges for MTK IOMMU
|
|
Commit Message
Yong Wu
Feb. 15, 2023, 6:25 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 @@ #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; + dma-ranges = <0x0 0x0 0x0 0x0 0x4 0x0>; ranges; gic: interrupt-controller@c000000 {