Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3871217rwe; Mon, 29 Aug 2022 23:27:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR5m8Aoj5OLLDs6bBfaLz9r+WT2vZJNxeOFSLwRCFE4CAK45quG/br5aMqYD+XTxRipCIbWl X-Received: by 2002:a05:6402:27d3:b0:43e:5490:27ca with SMTP id c19-20020a05640227d300b0043e549027camr19638177ede.307.1661840862839; Mon, 29 Aug 2022 23:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661840862; cv=none; d=google.com; s=arc-20160816; b=ZDj757fgQ2ZIWmMOnPWlyxX1IFd25A5S4cm8OlzWbX+etdz67oCEi30Tw+YKpqnmCD hR8H692OhtSxeKbUJ3oeIxCC6GhC/9zbztensbSUPT35ax0qzs6f2d49pI7/VmioatbJ w8q9CaK5SaxDvVWqSENf7/WY5VXIseMIx2E2ovSFoNEtJDLDfzgOBNh+vHNmixMzO3sw 3kYswnYyjKalTEWGtMAXVriMtcVxL/XP9k3zbc5DdvKjVQPyX/iLb/eZwA52KbCj6JvM QSrX976ulZYyMAuXyxb0twlPt3YDxyuuwBonKKVrIw3UDPaItTTE8YOtaxfqaEbPJ2YF nRfw== 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=JsP1zRVv3VBC4XqCGHkt3ZfTR/8IDwFR7luwM4aieduWCr/j1O+V+zjq+suCYgRdIN lO2r4mJoIyxnPdPPDURBu8WDRs5hPWxxOvMpCd8MXnXjw/U4j9djnQw4DeiqHfaYccCI S+0becIH8fcH80oQjM05XCpb6OONowYbrzVSdxdqH65FFvwUB1hsrkLZhYZXvuK99jp7 RxB33HRWrZ2SlCTSScTld1ZRlFvW/1GzIAjJa0hps/6U1MQWu1WZMqYpv3TlkoKiok9e UciKFUr0uQHRAS3Bz9B3o6bg7J1Uvn3qd8fxo2qkcNWgSkeKa832HWpPZ0AvMFH3tZLX Zi6g== 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 r22-20020a50aad6000000b00446dc8f5e44si8056118edc.243.2022.08.29.23.27.17; Mon, 29 Aug 2022 23:27:42 -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 S230085AbiH3GZh (ORCPT + 99 others); Tue, 30 Aug 2022 02:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229764AbiH3GZd (ORCPT ); Tue, 30 Aug 2022 02:25:33 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46D034CA33; Mon, 29 Aug 2022 23:25:31 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MGxzd6st6zlWXK; Tue, 30 Aug 2022 14:22:05 +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:25:28 +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:25:28 +0800 From: Jie Hai To: , CC: , Subject: [RESEND PATCH v5 0/7] dmaengine: hisilicon: Add support for hisi dma driver Date: Tue, 30 Aug 2022 14:22:44 +0800 Message-ID: <20220830062251.52993-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: dggems702-chm.china.huawei.com (10.3.19.179) 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