Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp217749iog; Tue, 28 Jun 2022 21:07:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uL7ndgw7jRxLe1GdqNzu9ZpeFmFYmG29gRR50nuisCzWuoJiqjuPw3uHlM712uT7T56258 X-Received: by 2002:a17:902:ccc1:b0:168:d8ce:4a66 with SMTP id z1-20020a170902ccc100b00168d8ce4a66mr8612407ple.160.1656475679683; Tue, 28 Jun 2022 21:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656475679; cv=none; d=google.com; s=arc-20160816; b=OLvFklOvnFzGTZcEXlfiSPLSBW8zJEAcsY3FpLuaNYC920NpC11OaCboY6AZS43sI8 IikBgMPcQkw49vRQOU/r52XgtDy886zE6YWBDNeYYHjkPJAw9yCYMz3c/VQ+6gSb+INK g6YuxDDHdUm60oRs/bAoCdEugFtnZYAcmrymbojHpmLVr753CpoBar1KM3pJe3eDDpCW 0aCTh3mrmTdI9h9/eLYriZIVz400JBBRJrKi1y5rHdLZnDXHhZSSALdRO3NPZLqnEHv/ ycV/k05JaVkZ9Fj3PK/Pz6y2snJSfXSAOVX+LyoeH5TPRPuaEFeurRf6AJpOZObDsZqi KAbA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=JRzxnc/VjUNiaMDgDJq9cbnlKo0meMcwE4/t6MOwEzI=; b=KoucJ+YRxhM6qTx6TsaKCuYOwn/7OWwZvMKJZN/m0w97t7AP1+ckUatgf8rknIdgDu ZAG27Oo4oCEEdLqqDXOEP5o4/ggYXI4WmRBeXS47BrkdMl/cW4LBnOT3pRBLL0zXfw4/ yICYA8I6qK2hXDJGEI5r62Y7IrrlfRQT9FsHEvUkTVVlAcMuXslkCxc7rzIDwN7TL36O l5ELHKgrJC0/csShya//hkNYeZjsFExHqhJrbWRAAj+fTJsDYn8JXcKdbI1Uy2T605oC w0uDcFStl5el3yh1fpBlMxC1734rYYQTxSkNa4PS9BxGErZwbSTUClerNYLj97ZCWQvu Astg== 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 r142-20020a632b94000000b0040dc8d4eb50si16421562pgr.183.2022.06.28.21.07.47; Tue, 28 Jun 2022 21:07:59 -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 S230527AbiF2D62 (ORCPT + 99 others); Tue, 28 Jun 2022 23:58:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbiF2D6U (ORCPT ); Tue, 28 Jun 2022 23:58:20 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCFEDD97; Tue, 28 Jun 2022 20:58:16 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LXngf2vm0zhYjh; Wed, 29 Jun 2022 11:55:58 +0800 (CST) Received: from kwepemm600007.china.huawei.com (7.193.23.208) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 29 Jun 2022 11:58:14 +0800 Received: from localhost.localdomain (10.69.192.56) 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; Wed, 29 Jun 2022 11:58:14 +0800 From: Jie Hai To: , CC: , Subject: [PATCH v2 0/7] dmaengine: hisilicon: Add support for hisi dma driver Date: Wed, 29 Jun 2022 11:55:42 +0800 Message-ID: <20220629035549.44181-1-haijie1@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220625074422.3479591-1-haijie1@huawei.com> References: <20220625074422.3479591-1-haijie1@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) 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,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 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(-) -- 2.33.0