Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp34364imw; Thu, 7 Jul 2022 20:35:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tDLgV2fWk/+3Deewk7r6TF0UNyYT99X+wwt6grN6V6OpPKYRF4HQgmJbf3bYCw9vT2J7Dk X-Received: by 2002:a05:6402:27c8:b0:435:d40e:c648 with SMTP id c8-20020a05640227c800b00435d40ec648mr1898019ede.200.1657251353145; Thu, 07 Jul 2022 20:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657251353; cv=none; d=google.com; s=arc-20160816; b=AhhUQK0D+OHJh2TF3V/5MdeLv6O0eyQybKA386XUae7MfFPnkPrU2NMNiBjORUG57i l0U7if0ue6h83LYK4RbLLHXypBiyM0Ujxlf+n2q1qD1yGGvi5gbEscjhmHxDZ6y//N5X cz1FvfAg3V0qClrBRTKQrdG00IzvRaAqWPEbc/A2fy5fWQ15sjhv68kiq7XdKqs5cqWU 1BV8q29av95pGZUBK6FLM+9r86XN2Q8tNWXOa+iGZd2D9Fd6ZIiYBcjzGPzIAbThhFA6 Dh7dTF5f17SMJApUZyu84KZrftNC7q66ZvXApoxkbb5nh7cX4bMCG2sglOFNmm/phaoT OvrQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=a1t35MXatFDXbOKs4oRnjNfQj6/1gilq+HWCuQrzXk0=; b=IDLsxsmWk8Tl1TAwFrlBzDngDdxkhugfev8+nFHYkXxhND5mGlShJFeTy1MbcopqXr SCQbn33Uu8/Rok8r/cBlqwdzh29DWbcR5N5f1M4HPDYDkcHpZoZ6oqvJQm1PkVOKPU1Q MZSClCgiKDXi+uirlngJx/v7rlbH6IckDvBl/CfsTSnURIU90B9Xr3iLoxmXUX4LVohv HJivsX1Tf1VUEyrcejnuAgxv/457bT3AAKWBWxLKMjL+y7NuhONu78SXkRG4Llorg+ZB ko4CCAcugHc4lBg/kp3g7UEjUZ0pNy4KlO/NycU/H2fOq7gZf9xpRc5cGhxo1c2f0CBv +zQA== 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=hisilicon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id er24-20020a056402449800b0043a83380210si9082444edb.41.2022.07.07.20.35.28; Thu, 07 Jul 2022 20:35:53 -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=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237027AbiGHDQj (ORCPT + 99 others); Thu, 7 Jul 2022 23:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236861AbiGHDQi (ORCPT ); Thu, 7 Jul 2022 23:16:38 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F180B7479E; Thu, 7 Jul 2022 20:16:36 -0700 (PDT) Received: from canpemm500005.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LfJKg03j7zkXKY; Fri, 8 Jul 2022 11:14:31 +0800 (CST) Received: from [10.67.103.22] (10.67.103.22) by canpemm500005.china.huawei.com (7.192.104.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 8 Jul 2022 11:16:35 +0800 Message-ID: <8848a346-0c4b-3752-5c26-3326a51cc2f0@hisilicon.com> Date: Fri, 8 Jul 2022 11:16:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v2 0/7] dmaengine: hisilicon: Add support for hisi dma driver Content-Language: en-US To: Jie Hai , CC: , References: <20220625074422.3479591-1-haijie1@huawei.com> <20220629035549.44181-1-haijie1@huawei.com> From: Zhou Wang In-Reply-To: <20220629035549.44181-1-haijie1@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.22] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500005.china.huawei.com (7.192.104.229) 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/6/29 11:55, Jie Hai wrote: > 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. Dump registers for HIP08 and HIP09 DMA driver with debugfs > 5. Add myself as maintainer of hisi_dma.c > > Changes since version 1: > - fix compile failure reported by kernel test robot > - fix reduldant "*" in comment > - fix reduldant blank line in commit log > - remove debugfs-hisi-dma doc and path in MAINTAINERS > - add more explanations in patch 3/7 > > 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: Add dfx feature for hisi dma driver > MAINTAINERS: Add myself as maintainer for hisi_dma > > MAINTAINERS | 1 + > drivers/dma/hisi_dma.c | 730 +++++++++++++++++++++++++++++++++++------ > 2 files changed, 635 insertions(+), 96 deletions(-) > For the whole series: Acked-by: Zhou Wang Thanks for the bug fixes and supporting for IP09 dma :) Best, Zhou