Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3861954rwe; Mon, 29 Aug 2022 23:11:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR5LTIV/P5jXpk9g//jTOGC2HjHvCmX13pZ7rFXE/K1e0LpeOyjz3f2cOtkGf2zuhPON12/Q X-Received: by 2002:a17:902:f70d:b0:16c:50a2:78d1 with SMTP id h13-20020a170902f70d00b0016c50a278d1mr19223726plo.34.1661839896265; Mon, 29 Aug 2022 23:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661839896; cv=none; d=google.com; s=arc-20160816; b=mJkWxl5q/loVYwK+AhcsMO4JXPDWuk4fhvO9gV4Y40EGYuqxZ3NuqqhM7Sd/trQeQ0 RTkBn8Wkgtr8G748G6A3Jzzjz+2EK9In9kwFc0ociIvDmGHM9VdqEpr8LUvKEBL4J5M4 qyeLjPFtZnhTVltjG8m5no98Tyr7Ra/QgRUAKGr4yGXGSFW5I2Ew4z+l44Ckj1ZGaFaJ jEGL63H9Z6GGEXe9l/aH676279WdOwbXZWclRp20dvUcxxdfU/MGEuHy+a4zkAeP+17f GZSGYmJmRLhlPIF5w+QFw3hg04fStVV2sbZumCAkdRNoB98v65v8V2Om8vZ52ySx/RxH vPgA== 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:date:subject:cc:to:from; bh=vGGQBw3eu7/xkmQdSFBcLx/GYnSr9U0NE67FxXuU7lA=; b=CdRZkKxtq9Qm0V3FyNqx9SnIcvwCr4gGRO+OOIs0qhWMCdjhyL0bQ93OLffApNa0UT 2O6bG3k+5uU6v1KFZYvrdQ6YSN7A8SJowlpezV/7y/1pBLevohPChF/B3O9SzZGN689n 2WcCGpHeIpFwpx9ksqexvdItobmnnVSAmopHDYertdSviOU0IfCzfzZtPT7OVJX6mGrj +oAGQHaLk9M3lpHKCuBLq9uJyt1X/ohK7k0Sv4FvZAVRzpD+qP4+6TNzYPAb5HBNoK4K Qh+e2HYUdSiHeWMQruWPmWeIGihkW6+4RkQyaKtLdOKYTh+o9hI0AA4WGbeODHwTN0c9 sgMw== 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 b20-20020a63e714000000b0040512c0ebfcsi1391397pgi.297.2022.08.29.23.11.25; Mon, 29 Aug 2022 23:11:36 -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 S229981AbiH3GIm (ORCPT + 99 others); Tue, 30 Aug 2022 02:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiH3GIl (ORCPT ); Tue, 30 Aug 2022 02:08:41 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4F969D8D1; Mon, 29 Aug 2022 23:08:39 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MGxcC1G5lzlWXq; Tue, 30 Aug 2022 14:05:15 +0800 (CST) Received: from kwepemm600007.china.huawei.com (7.193.23.208) by dggemv711-chm.china.huawei.com (10.1.198.66) 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 14:08:37 +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; Tue, 30 Aug 2022 14:08:37 +0800 From: Jie Hai To: , CC: , Subject: [RESENT PATCH v5 0/7] dmaengine: hisilicon: Add support for hisi dma driver Date: Tue, 30 Aug 2022 14:05:48 +0800 Message-ID: <20220830060555.50781-1-haijie1@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) 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. 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(-) -- 2.33.0