From patchwork Mon Apr 3 09:13:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Wu X-Patchwork-Id: 78432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2167632vqo; Mon, 3 Apr 2023 02:24:29 -0700 (PDT) X-Google-Smtp-Source: AKy350br/u13qp1ckhzGt6lzPmAdXMI7vKs8EZo0nZ/l3OIqL1dK7KqcdEbJBP7uHee9H2hDWAGK X-Received: by 2002:a17:90a:1917:b0:240:70dc:cf46 with SMTP id 23-20020a17090a191700b0024070dccf46mr34566865pjg.11.1680513869024; Mon, 03 Apr 2023 02:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680513869; cv=none; d=google.com; s=arc-20160816; b=nPmtUj2Q3MAoybSzfhL0iQFi0qRi574hfYGPXP4ncjLLegrFPPYMVshopuea4FktL6 XF8FtDAhM1Tn7/rmTtuNX7JZpX6mc36yMHMKRuBXFgKnH0PbGBawHyyXmTrZOSVF78kc jlBG1zWjPOvroFc/7jjD+7Xx4u5aaDH0HbXUKKhvwnUO2dHZ8E0kI85pxQfuZdIrJz9E iKjkIgVtExkkpHyWSy0pDTuLXmdDdecQe+rRCLBO/oLSTGjy79u16I82ihtCCzvhZAX1 +s4kbt2NYrx+Em5crZjFTbySANp6pwg47KBwimhQFeDb1CMmoKAJp23F+M2YT10SQeBC 2i6A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a63e24f000000b004fbf520c66bsi8233043pgj.247.2023.04.03.02.24.17; Mon, 03 Apr 2023 02:24:28 -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 S231937AbjDCJRs (ORCPT + 99 others); Mon, 3 Apr 2023 05:17:48 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762146511001943724?= X-GMAIL-MSGID: =?utf-8?q?1762146511001943724?= 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 {