From patchwork Wed Feb 8 05:36:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Wu X-Patchwork-Id: 54199 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3276372wrn; Tue, 7 Feb 2023 21:54:00 -0800 (PST) X-Google-Smtp-Source: AK7set9TDXCYPbJ+7QVvZwtU2HY5a4sEbfrxnyTL5pIo+QrDJAc0zqtWIncXXtebu2Nchmk333Dj X-Received: by 2002:a17:903:41ca:b0:199:28b9:789e with SMTP id u10-20020a17090341ca00b0019928b9789emr6119547ple.32.1675835639997; Tue, 07 Feb 2023 21:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675835639; cv=none; d=google.com; s=arc-20160816; b=cMOy8THXEFmzOzRFL1vAGoXu489AAyZ3nR3qgpWmjZa9RUYoiavZHQbcJxqKcBsavV 3802Kq3kkzZP8QAhjCGrcM88O/k4zHEiIdcPOGueQMyEPpiJd5nkyPPlN4Jd0VfusvMC PKxzPrfeXqb41yS5RMfz9JZ5ukT16Vl+NO9cUPXIBrW5JWl1N2zGS2enivd/EAV+tGrQ 5bVWuvaDzMu93O2c6iVRvtR8fwKgSzHjwWa7anfMMnXVwJVITdx7NpBN3VSdngX3PnvH 38joFVodg3Uq/LY4LpyJFz8aoEnkgBVasn+aevYBaSzwHxTTr/vly3NF8KeSpTbuekT2 XYdA== 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=G/PT6WHkOfDYmieGChFdMH/Dl8Kxs3NM0zvs/IDpJj5LuNmzC4XxVB1Cazgzy2Dpt6 UHciyyOSuz/UKMFC4FWmu0I9ZWkIGZZZUxZvU5EnqyyJaKIMNDqMFuLdC3PZxsWSgKVb q3SXDVGhixf1EqAMmlEb911tjO8N/P0LqHGk6FdDodIExNiMaDdt8aTrYgtglyr3PYWq Nz6GZKr+GAY33U6Hf0l/2lD1l/CPaPWAwyG4D3xxB94f5e+8kywT0K9QUNSAbZdW/DEi iNm49kLvP8qylxK91r1hiKVvnc1y2D1e/J5yFocrW44KuWlttSVsu7lgiADVubQ/i0C7 3UkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="A8XHCV4/"; 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 u9-20020a170903124900b00186b3cb9b80si19252968plh.354.2023.02.07.21.53.38; Tue, 07 Feb 2023 21:53:59 -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="A8XHCV4/"; 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 S229953AbjBHFkA (ORCPT + 99 others); Wed, 8 Feb 2023 00:40:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230351AbjBHFj6 (ORCPT ); Wed, 8 Feb 2023 00:39:58 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CE02528A; Tue, 7 Feb 2023 21:39:22 -0800 (PST) X-UUID: e1163d3aa77211eda06fc9ecc4dadd91-20230208 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=A8XHCV4/Ir4wiI4MzpszaFk48EheS5wPWekSumfIHT0mEwF/346V8eWLP+C6mbR/xK4NBmqePD9cI8CNbG/ggR+I1CPKKJO0fyvxBIpxHT21HOWlgcT7LFt2et7OvgS/HmTX86mlEIyMw2w+OJ3bjhRkH0Xqx2n4tIw/V33m5YI=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.19,REQID:86ec7934-0248-4946-9b20-4386a2609b01,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.19,REQID:86ec7934-0248-4946-9b20-4386a2609b01,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:885ddb2,CLOUDID:c1193e8e-8530-4eff-9f77-222cf6e2895b,B ulkID:230208133859YBXLKTZR,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: e1163d3aa77211eda06fc9ecc4dadd91-20230208 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1276488235; Wed, 08 Feb 2023 13:38:56 +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.792.15; Wed, 8 Feb 2023 13:38:54 +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.792.15 via Frontend Transport; Wed, 8 Feb 2023 13:38:53 +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 v2 10/10] arm64: dts: mt8186: Add dma-ranges for the parent "soc" node Date: Wed, 8 Feb 2023 13:36:43 +0800 Message-ID: <20230208053643.28249-11-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230208053643.28249-1-yong.wu@mediatek.com> References: <20230208053643.28249-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?1757241032185704086?= X-GMAIL-MSGID: =?utf-8?q?1757241032185704086?= 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 {