1 From patchwork Fri Apr 29 08:42:25 2022
2 Content-Type: text/plain; charset="utf-8"
4 Content-Transfer-Encoding: 7bit
5 X-Patchwork-Submitter: Rui Salvaterra <rsalvaterra@gmail.com>
6 X-Patchwork-Id: 12831649
8 <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org>
9 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
10 aws-us-west-2-korg-lkml-1.web.codeaurora.org
11 Received: from bombadil.infradead.org (bombadil.infradead.org
13 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
14 (No client certificate requested)
15 by smtp.lore.kernel.org (Postfix) with ESMTPS id 386E2C433FE
16 for <linux-arm-kernel@archiver.kernel.org>;
17 Fri, 29 Apr 2022 08:43:49 +0000 (UTC)
18 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
19 d=lists.infradead.org; s=bombadil.20210309; h=Sender:
20 Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:
21 List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc
22 :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:
23 Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:
24 List-Owner; bh=8o7lZT3r9rAaTm8HKh4V0xpz9VW91LuZAYfrXGv0Xic=; b=bS+249v3+UY+qs
25 bxuupjLqBetRQqMAaPjTn6GKQJtca75PMdLf3okoQban7PNqWO9WOgCJWgY2eyzOSjxHBPr1dsGzy
26 6c3CZBbMy8pXl/zf80YRmikPFXehOzAvOpZjco4QUCCqXNsJM9FKzAqYIaZDSlLOTmADDepsh481G
27 k/h/g39ztzn09LVqwF2Bh0DopIbHiq/BepTeU8jFt5GTj3EGPTdCU7Vq7mf2pP6P6oPk6vswKVYaQ
28 opq96BDGIEpeKViuMWt07vdJX2meQBHhY/Rte/aAO5pdLpusY2OPvEKv0/49swpAEsNYIYFcgtCtm
29 vaKUqN85QlQznqd/NaHw==;
30 Received: from localhost ([::1] helo=bombadil.infradead.org)
31 by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux))
32 id 1nkMD3-00AFVb-Co; Fri, 29 Apr 2022 08:42:42 +0000
33 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534])
34 by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux))
35 id 1nkMCy-00AFSn-Rp; Fri, 29 Apr 2022 08:42:38 +0000
36 Received: by mail-ed1-x534.google.com with SMTP id be20so8231068edb.12;
37 Fri, 29 Apr 2022 01:42:33 -0700 (PDT)
38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
39 h=from:to:cc:subject:date:message-id:mime-version
40 :content-transfer-encoding;
41 bh=XJkVawFXvwQH7kz0CHPfmxuFkQ6+ipcLhCSvCaul0jQ=;
42 b=HSFxl4yM5hEns1ZYq8D5pL88/nYNfulhELpJyhaF8XIrymlck2o40/lATRsLIEWMyb
43 8MiL8d5eAOEMSb7rUrqWodLDPZld7ZzCvoVt6XQeVmJLkAw0teNdQXvlCZgu/3Q6MwUw
44 Wx+QkzqUjCODOLk224RVZGvnKY9YRu/WmZEnWqBjzQIF90DLNXyni+yS7XbUn8CnPbdM
45 M3s/Ty7YsgPGsibKem1EI6yma15sXRNi1Vz1o0ArcPpsB/6x/ym8sCQemxSvrmer5ps9
46 wrBnmlH558mrlj7rSHK9l5SmsGlkJiXB3DTLSrnynxHTY9gX9lSBsQxxjiqu1sEMvDVY
48 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
49 d=1e100.net; s=20210112;
50 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
51 :content-transfer-encoding;
52 bh=XJkVawFXvwQH7kz0CHPfmxuFkQ6+ipcLhCSvCaul0jQ=;
53 b=LtdsZ9M/Im1hyxdJYYHttN4wtxcqRThm/H/oV8driFRB4KuwxO2iP2OqycVsS1sN2y
54 quWFM6L8v0KaUZRUR85rRRr8JX9P84kqTu4szOEuSIQQ/aUDUbJxVi7rICLPZ890DqTY
55 APplzuMhuNr6unYQO5Lxrj5IHHtrsmKP8ttR7VVWPNHpJseXc1kQ+HDLgylQLHVsb/5U
56 8KpUG0LvxhvqsNU6HbTwLD/Q/88ELP5MfoWHUocYXKPrBJ8K6rCHsmjH6z6tFLfXgce7
57 619waAHXFhCBCflRbAC+D9VemoNe5wJlu9mzyQ4Xavbo8NZgDobVFWOTEQ1iRdua/oRT
59 X-Gm-Message-State: AOAM532GrwQ/whp0buK64HysYJy6aLBD/xGE/8Dr7NSW150Jds7jTjor
60 eVhdzOGjuWywij/s3mwA9XfPjST+Cg==
62 ABdhPJxU9goI5zXE0GQP90hO7TH0IDw++6UHpkGFSUH/chvzvE0L/pQF0XqDkdwzbbTmxsOBUMGcZg==
63 X-Received: by 2002:a05:6402:84c:b0:423:e5a2:3655 with SMTP id
64 b12-20020a056402084c00b00423e5a23655mr40374113edz.28.1651221752304;
65 Fri, 29 Apr 2022 01:42:32 -0700 (PDT)
66 Received: from crystalwell.adg.lan (a109-49-0-175.cpe.netcabo.pt.
67 [109.49.0.175]) by smtp.gmail.com with ESMTPSA id
68 el10-20020a170907284a00b006f3ef214e32sm429064ejc.152.2022.04.29.01.42.31
69 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
70 Fri, 29 Apr 2022 01:42:31 -0700 (PDT)
71 From: Rui Salvaterra <rsalvaterra@gmail.com>
72 To: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org,
73 linux-kernel@vger.kernel.org
74 Cc: matthias.bgg@gmail.com, ryder.lee@mediatek.com, daniel@makrotopia.org,
75 Rui Salvaterra <rsalvaterra@gmail.com>
76 Subject: [PATCH] arm64: dts: mt7622: specify the number of DMA requests
77 Date: Fri, 29 Apr 2022 09:42:25 +0100
78 Message-Id: <20220429084225.298213-1-rsalvaterra@gmail.com>
79 X-Mailer: git-send-email 2.36.0
81 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
82 X-CRM114-CacheID: sfid-20220429_014236_944696_097D1E73
83 X-CRM114-Status: UNSURE ( 8.85 )
84 X-CRM114-Notice: Please train this message.
85 X-BeenThere: linux-arm-kernel@lists.infradead.org
86 X-Mailman-Version: 2.1.34
88 List-Id: <linux-arm-kernel.lists.infradead.org>
90 <http://lists.infradead.org/mailman/options/linux-arm-kernel>,
91 <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
92 List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
93 List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
94 List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
96 <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
97 <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
98 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
100 linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org
102 The MT7622 device tree never bothered to specify the number of virtual DMA
103 channels for the HSDMA controller, always falling back to the default value of
104 3. Make this value explicit, in order to avoid the following dmesg notification:
106 mtk_hsdma 1b007000.dma-controller: Using 3 as missing dma-requests property
108 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
110 arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 +
111 1 file changed, 1 insertion(+)
113 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
114 +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
116 clock-names = "hsdma";
117 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
119 + dma-requests = <3>;
122 pcie_mirror: pcie-mirror@10000400 {