Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3956230rwe; Tue, 30 Aug 2022 01:44:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR5zxuQ+sHQpTETJqvgPKYZruFYEC7KOgd4bpbjTOvVmoG8aHyg2Z67Ufq8EGW5mgCVw7qRn X-Received: by 2002:a17:903:1109:b0:170:a092:c881 with SMTP id n9-20020a170903110900b00170a092c881mr19797767plh.68.1661849087213; Tue, 30 Aug 2022 01:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661849087; cv=none; d=google.com; s=arc-20160816; b=e5xNlWF0z6zF4mb0gfjOoCJARQBq8dgveaoL/yyQOQXwUxXPZe6WSirrrvhYqSfmXK goHH/C3sZYec2sWNjyRt/tePi7XJ8WP1q3u8miScAqMfOB9JEfizyTNyNgl7Q+Yvlyq/ YZbx4W3UVFFn9iUKcPSVuPv6/AkGcXkcwdtvj4zTh5i9zI9eMbDWesPCFi55ultt7121 HDt6j5HQOtugi4vKr+7rJ5nH1hMoKqCmwh4WbM6jljALwcXzxDfjioWSC4DylEHohThV 7b22oZ3RxucO1IvOUZVT6xeHmWqt+6HX1oYV/kdvVu8hjUSKsgjsNyp7prw2d9xuhiN2 0N2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:subject:user-agent:mime-version:date:message-id; bh=/Z0VWAZtEcTV2S95FIF8yX8hUgbQkQHCalMj+DWGjQI=; b=h/yKOkVrqVlb+hUqkjueLaB76W91FIgxlNhqzAIN+6QVAFkS/TkWOOSKKVnm0SiqfM ln1ldHFJ+/4w6Csrty2LRBL/iEg/L0azgEE1fmWrhiTioct+8lGUbYfK7Ip2BEN7y1A9 LNwQ2uKU8GhGnNJ5LmT9IGygZE+Ct/i7gpOS/GO1I01f9p0MS3tAa6LfkqeT91OAb9KB 1cFoAvmjoZw8AQDTcQ4Sm/yTmbvN/J/ABn2bTaN1p0aG/TjPIDGfWoJJsc4A86kCaFtc eo1IJxQdedfNgijvu3V29BOtYBhW6CkPMSRBn//bO1endy28AEsFODVmJv12QcerXPd7 KH9g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a170902700800b0016d1a182e17si11193208plk.425.2022.08.30.01.44.36; Tue, 30 Aug 2022 01:44:47 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231217AbiH3Hp1 (ORCPT + 99 others); Tue, 30 Aug 2022 03:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiH3HpT (ORCPT ); Tue, 30 Aug 2022 03:45:19 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7452C15A2D; Tue, 30 Aug 2022 00:45:18 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MGzmp43d9znTt0; Tue, 30 Aug 2022 15:42:50 +0800 (CST) Received: from kwepemm600007.china.huawei.com (7.193.23.208) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 30 Aug 2022 15:45:15 +0800 Received: from [10.67.102.167] (10.67.102.167) by kwepemm600007.china.huawei.com (7.193.23.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 30 Aug 2022 15:45:15 +0800 Message-ID: Date: Tue, 30 Aug 2022 15:45:14 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [RESENT PATCH v5 0/7] dmaengine: hisilicon: Add support for hisi dma driver From: Jie Hai To: , CC: , References: <20220830060555.50781-1-haijie1@huawei.com> In-Reply-To: <20220830060555.50781-1-haijie1@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.167] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600007.china.huawei.com (7.193.23.208) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 2022/8/30 14:05, Jie Hai wrote: Sorry for incorrect titles with "RESENT", please drop this patch set and follow the latest. > The HiSilicon IP08 and HiSilicon IP09 are DMA iEPs, they share the > same pci device id but different pci revision and register layouts. > > The original version supports HiSilicon IP08 but not HiSilicon IP09. > This series support DMA driver for HIP08 and HIP09: > 1. Fix bugs for HIP08 DMA driver > - Disable hardware channels when driver detached > - Update cq_head whenever accessed it > - Support multi-thread for one DMA channel > 2. Use macros instead of magic number > 3. Add support for HIP09 DMA driver > 4. Add debugfs for HIP08 and HIP09 DMA driver > 5. Add myself as maintainer of hisi_dma.c > > Changes since version 4: > - Fix hdma_dev->base to hdma_dev->queue_base in hisi_dma_reset_or_disable_hw_chan > > Changes since version 3: > - remove reduldant braces > - add "Acked-by: Zhou Wang " in commit log > > Changes since version 2: > - fix unnecessary line breaks > - fix register bit with BIT/GENMASK and adjust hisi_dma_update_bit to it > - remove "Reported-by" in commit message > - use dmaengine root instead of hisi_dma root > - ignore errors for creating debugfs > > Changes since version 1: > - remove error changes casuse compile failure > - remove reduldant "*" in comment > - remove debugfs-hisi-dma doc and path in MAINTAINERS > > Jie Hai (7): > dmaengine: hisilicon: Disable channels when unregister hisi_dma > dmaengine: hisilicon: Fix CQ head update > dmaengine: hisilicon: Add multi-thread support for a DMA channel > dmaengine: hisilicon: Use macros instead of magic number > dmaengine: hisilicon: Adapt DMA driver to HiSilicon IP09 > dmaengine: hisilicon: Dump regs to debugfs > MAINTAINERS: Add myself as maintainer for hisi_dma > > MAINTAINERS | 1 + > drivers/dma/hisi_dma.c | 650 +++++++++++++++++++++++++++++++++++------ > 2 files changed, 555 insertions(+), 96 deletions(-) >