Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp136499pxb; Wed, 20 Apr 2022 18:09:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrmZ8bEWm3U7W3UPSBmk2WzBhxRXTFK/3gb6V2qTifCN0xoNMmYlMkkW+F/eL+4MAqN/uG X-Received: by 2002:a05:6402:1d4e:b0:423:fd93:6466 with SMTP id dz14-20020a0564021d4e00b00423fd936466mr12504194edb.304.1650503351693; Wed, 20 Apr 2022 18:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650503351; cv=none; d=google.com; s=arc-20160816; b=Izlz/eVL/pMRvFIL7VaEazxlFt/36cTfhunnn7zjm/rnLtF1+SSABzEbGIVBymbcc0 S24V0qSqwckASsdhzs544sNoI59DPbyn+N5bIIytvZPKkFesPIpnKSsC9oQg8Y0Uwgs/ J9/0lrku2LDzAkSv9TXYi3qzhN18tjzP5mykaV1PnrYZVrgEDq1p2xdZEUJe0l7BhWVe JWTBdFMLLAPo+hOoUaBgOk/0eU4x3rqCmiTntYDqPgAuiIpeFoNHSbGZxfiRRdE2Uceu XITs4RW38dxuptE636kqJfGCLJz4gvjYuHUcH4uxk9SZ7DLNPF9oPAkjC3ZVxj7EpfWD a2iQ== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=8m4sLnpIyX8zfbZGZxaNokmhKJeRbQ/UL/T2dqn4Rj8=; b=Q7c9Niiw/3M9a5BKiQidOPIHw3r9ce6X08doW7LEHYyktTe5F20I1AnxH00NL13Skv 93SwzdWof9XWPT0xt4sTREGxJLGcUAgeqMMrdOOKPun4ZTv+P2SGhZb1AnxfqvOkQXwI KxEb+9H9RyGLnf5gNqcyUb2fiiwts3imbVJ0sqYLv3NDFQiMiesikkOiALocBhcBkxrG dYG8CGqvlOZBTLbjp0OlXFfRK2yJ+orVrM1622Q+D1+331Y2YDD/HOsxRSwql0a23SaW UkoabJvENUUuTAkbyxYfATqyNuUhMnlDwWBpU0VAb9AZFs70lPEluer/XfNPr8fQWHxM VemQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=pAYUjQl3; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 18-20020a508752000000b0041d71714dc1si2768420edv.420.2022.04.20.18.08.47; Wed, 20 Apr 2022 18:09:11 -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=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=pAYUjQl3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244370AbiDTAVS (ORCPT + 99 others); Tue, 19 Apr 2022 20:21:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244218AbiDTAVQ (ORCPT ); Tue, 19 Apr 2022 20:21:16 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9762F252A6 for ; Tue, 19 Apr 2022 17:18:32 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id i63so1476308pge.11 for ; Tue, 19 Apr 2022 17:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=8m4sLnpIyX8zfbZGZxaNokmhKJeRbQ/UL/T2dqn4Rj8=; b=pAYUjQl3HCJWsKHJvSQYrl2vBnKRybBJ+y2Yzmpe4MvOmhVKXYperLQgIRLk3PIURT xgVQubCGf36IfmhtxuycN8I3OZVyNRRrliG4hfdxKyjV3e0EhvY84yPdh6UwnXa21pa9 wggfK7z/v+f1ZmgViXBnVqzpso+C/MdHcsEFwWwHHB9nE6WWvwtPvpQXTXgW/UwYrKGE oWaHl2Ah5zVVeZy4PiBjfAjA9L7du677k8lzXbDB5L2jxvrXJ1QfKWROEzDX4//yrJWi qAGVxDTG15yPdbqxKjlrxHP3VvJzCqluAvCqHhwAjD0I4WzJdk1drjN6bVq4o4bNBO3d Gokw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=8m4sLnpIyX8zfbZGZxaNokmhKJeRbQ/UL/T2dqn4Rj8=; b=T1dDH5ITdMczfDRkz7EPpVTvHiwW4xhqKr7SKor8TvEKviQV7Zln2Lhq9ZzA4vLWZ0 CYudFSb0/Fi/x3oA8yWkqZ7xaq0Ed8ekmAYu4FNWnKTj55HaB6YRGQFvuT0chIEQqsal TUzKBmMVE/aesJlhA4FAN3xNe4uitszn1fglI9gL0RoKK6mLGg8KRzyJEVf+PKBcuRt/ RoH9Q+xBgEb522d6wnkJ7RxMx+5Y0eJ+0hcBH+nUN18vQI3iQDjOHNe8bMWd/GUaGpZS +9zyRX1FEHOW8zFLrg6l+ySvpkldVupcToKhmgiceeeVm5CEUEtEpKoz04OOloJxvZBX TZAw== X-Gm-Message-State: AOAM532uWez1oyLjv4gr3IiUVylTzq0/fnTckb7BU9ioA0FpN3aLOaRL Ud6QlEGZVDp5zLBvtMTETm899Bylxc5kKA== X-Received: by 2002:a05:6a00:890:b0:4f6:686e:a8a9 with SMTP id q16-20020a056a00089000b004f6686ea8a9mr20500588pfj.83.1650413912043; Tue, 19 Apr 2022 17:18:32 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id a133-20020a621a8b000000b0050acaab7b29sm156609pfa.31.2022.04.19.17.18.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 17:18:31 -0700 (PDT) Date: Tue, 19 Apr 2022 17:18:31 -0700 (PDT) X-Google-Original-Date: Tue, 19 Apr 2022 13:28:36 PDT (-0700) Subject: Re: [PATCH v8 0/4] Determine the number of DMA channels by 'dma-channels' property In-Reply-To: CC: vkoul@kernel.org, robh+dt@kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, conor.dooley@microchip.com, geert@linux-m68k.org, bin.meng@windriver.com, green.wan@sifive.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: zong.li@sifive.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Mon, 11 Apr 2022 04:43:35 PDT (-0700), zong.li@sifive.com wrote: > On Mon, Apr 11, 2022 at 6:48 PM Vinod Koul wrote: >> >> On 11-04-22, 10:51, Zong Li wrote: >> > On Fri, Apr 8, 2022 at 9:13 PM Vinod Koul wrote: >> > > >> > > On 28-03-22, 17:52, Zong Li wrote: >> > > > The PDMA driver currently assumes there are four channels by default, it >> > > > might cause the error if there is actually less than four channels. >> > > > Change that by getting number of channel dynamically from device tree. >> > > > For backwards-compatible, it uses the default value (i.e. 4) when there >> > > > is no 'dma-channels' information in dts. >> > > >> > > Applied patch 1 & 4 to dmaengine-next, thanks >> > >> > Hi Vinod, >> > Thanks for your help and review. For patch 2 and 3, does it mean that >> > we should go through the riscv tree? >> >> Yes >> > > Hi Palmer, > Could you please help me to pick up the patch 2 and 3. Thanks :) Sorry about that, I forgot about this one. I just put them on for-next, there was a minor merge conflict but it looks pretty simple. > >> -- >> ~Vinod