Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp759271pxb; Tue, 12 Apr 2022 12:42:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6GD1qX4gJQJ9KAiCr6SdTy+H0FJ4RKGfNco7lUr7kqMYqmY0WDkKHHxJCNUWKskv3CtJf X-Received: by 2002:a17:902:f605:b0:14d:bd53:e2cd with SMTP id n5-20020a170902f60500b0014dbd53e2cdmr38489525plg.164.1649792525359; Tue, 12 Apr 2022 12:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649792525; cv=none; d=google.com; s=arc-20160816; b=oN9AxFyWzLWpsSNsWRuwmu5H2aSFs4ZnME5J3T1cG31QnCL1ky5muHwxrA669fDpfb LHUYBQoYIsVUFZHKsGxks7XLLBATRpC/oX0A157YbCXKxYxzH6P5kCekOZFnMA8Zts3d cwdDGeXVV0PaiV4iVX2vf+mmAnPKimRt+yMkh/LEnr43Jj7hBZSKRFZLv8Ps+ma69KNH 0OFeMy5YicqGwxBx+CeypC/gP1FUXgGa2VD3sBTB1EUUPVl/aqSWpfEoE885yfSEQPZe 8IrZ6GjtWAJ5w9PevdVFTZX2lGQZ8AT6dyc4SOeI7Duio8vgyjhi72ylKJI++gL+K4P+ vtMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Vdw4ZXHCV2Uqoc9GaWxbHE5SGjw8cSMUbAVvs7T22GI=; b=OUXmVjuk7KY/MPIrCDcktJL1EperKJotcX2msdb5tp9LER68NBEf1alkxYtAF9cNwp KwHTe00GJV80YgmAlzdIfksSc16V/SGLbZWCYbTAnHMyNN/wRo/edVQgen5jR15UUIl1 YpCrCHMP4vZVLT30dBvtxv86NuVQW2EVUF36vGYfyjrSOpk+l1FrEK1XFYF4UBuhHh2N W3GNvsLDyjAZSxWz5ViCyOsq6cpdPSAQmCn7fCzUwidz1PhXwOhkhcGLRV9ucII/D+Xh LONceYJe+Zt9odCDvqtxJiR2FZ7ZL+Osp/pXiwlzObc1UdZf0VznxuoiNt2N5wAVNZBR NmUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=F20AJPCK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w6-20020a631606000000b003816043efd6si3232060pgl.459.2022.04.12.12.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 12:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=F20AJPCK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DE29458E4B; Tue, 12 Apr 2022 12:40:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244839AbiDKLqE (ORCPT + 99 others); Mon, 11 Apr 2022 07:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237230AbiDKLqD (ORCPT ); Mon, 11 Apr 2022 07:46:03 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1677945AC6 for ; Mon, 11 Apr 2022 04:43:49 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id s13so19744416ljd.5 for ; Mon, 11 Apr 2022 04:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vdw4ZXHCV2Uqoc9GaWxbHE5SGjw8cSMUbAVvs7T22GI=; b=F20AJPCK1CUmmC/89HjK7NO6rVKSVy3xpQV7B137WtPj4PvbxYCWh7ZeWsyzMSxphb OSORHdz36qT/dybt+JqjzG125vybXdvRrnHsaEItWGI7ONrwjpdvqLsObj8g052BsYW2 setyyqMFpM6YDU58chmeHDeXOS9hDx0narpJk/2lt0jLQ3Q7qUcU4OUy+Jhy2R+SX/U5 dg/cZzI1tTxHa3Vl8N2wMEkp+s+986jop1ipS1pwaXcRr80ONdbU/B6Ve3KkC84CIWPk PZMMcbboGv6Jsu3PNaq3HwfXQ42oXfDKDmnJ+RQQe5vtaLv58+uzZJr/GO1G/wQ65Oa4 /1lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vdw4ZXHCV2Uqoc9GaWxbHE5SGjw8cSMUbAVvs7T22GI=; b=mu2u79WNLMcF8ZrqyQ/1Lxq62ZfCk3YFamab2yrNRDhu7lu9N+Bn0e9+q28HASD/XV 9CPhwSMYuHk8yLNH1iAvLcl61L5y4SQxDm1Nv4XZbFVkq+cpRor0/3CV861qEVQ0XO0m ths0bb62vINPvzOjCIh75ZQqmmwEJLfW8BuG5lRv0yjK6M5jxqF6ZY/KRlLZL9AyY/67 ZI+MxYys1Rns5vnPG/s4aclh2ykW18AqMYPLRWTKe/UckvqzdbwHMQT+NryiNvpEtY7c gxTjQzk5c9C9dRzmqpoRujEVShv6bELNGc7UnIp73tcT95ck8NuvbpQ2pOXV8RBTQvDI 00jA== X-Gm-Message-State: AOAM530moFwdZSOOfoxCdwpmsezdbrM1OSQ94YC8FPv89LJ9gm7KKq/C 02Mly5w7ASWeciDR9bmTQqvh8aLObTSwcZHLw/b6xg== X-Received: by 2002:a2e:b742:0:b0:24b:6370:1e00 with SMTP id k2-20020a2eb742000000b0024b63701e00mr2899689ljo.71.1649677427312; Mon, 11 Apr 2022 04:43:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Zong Li Date: Mon, 11 Apr 2022 19:43:35 +0800 Message-ID: Subject: Re: [PATCH v8 0/4] Determine the number of DMA channels by 'dma-channels' property To: Vinod Koul Cc: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Geert Uytterhoeven , Bin Meng , Green Wan , dmaengine , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org List" , linux-riscv Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, 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 :) > -- > ~Vinod