Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp347972imn; Mon, 25 Jul 2022 18:53:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sArHhv2BF2iqXX5rK/Uk1g468sQ2xRTuveyzBXXT9vmJK50fDOYawYTeUuP0qQvkgYk/Hq X-Received: by 2002:a17:902:d54c:b0:16d:9d52:2cb1 with SMTP id z12-20020a170902d54c00b0016d9d522cb1mr964178plf.29.1658800393845; Mon, 25 Jul 2022 18:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658800393; cv=none; d=google.com; s=arc-20160816; b=lynUaGvkwuVcBLGDX4rZ/6526C6+9E8HkWPGaAqD7O6O4D0IIqSCnWsKZWfocK3INj J4XeQfaJ/ocqOymxOHDErb1Oawnu1UmK73eOChMzYxrHnYo2Av+/8ljuIF/CE4PwK5Jp FnAnf56eHLrvFKGLutihOKA9Ol+PZiEhngOe98HDrkr4j3YJOUf8attCHDRT5YMtVnFN 6GFEewf5IeyRHuHgmtYHu/jt+4AnwbvKcW0vP1x6r7N1niC3dws8lsnTnAw4X0RqMTLJ G+F9xC+f5AheekU/2z3Cd/QmRgsNas23XbxSxfhOTR3WQ3sdfKoCyxVd4/72Bup4pJuH Ed+A== 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=HX1tE+Mp8MN9hb30BJN8tqZtBKAyDua00ZWAez9ENuY=; b=VJGLlgSw2qRUun1sdzEmE+IX3QyFKCa+XWc8BDPhYIUELLxPHIB7ot7BzqFASMknpz suq9CXEXRLbQ7ibr8n5T6UCOIBRbKtHiX/di7wvMcwew8W7JBxe5wwsY7SIRLCOU0CRp DpoHdG21vRRfGKNWr3Wfl4mlMoh/6CeVN1oshOAnxqR9kgu0k2n0mcYwcdoz1PQev67e FjeF1P76KFJOCWUEkrwllqnSG557z8b56HfDomU4rSZGIazeDz7yqW0xBqXwvYECRtYD bHXb4thUQm+8sdcwvULu3oLe5uq9JO7hahV54SKqqSga1K455GGbp0UIWDJYiZ4WqdD7 P8Cw== 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 nl3-20020a17090b384300b001ecd48cd589si23685716pjb.85.2022.07.25.18.52.59; Mon, 25 Jul 2022 18:53:13 -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 S230479AbiGZBhs (ORCPT + 99 others); Mon, 25 Jul 2022 21:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiGZBhr (ORCPT ); Mon, 25 Jul 2022 21:37:47 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F18141F2F7; Mon, 25 Jul 2022 18:37:46 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4LsKJN1kkmz9stm; Tue, 26 Jul 2022 09:36:36 +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, 26 Jul 2022 09:37:45 +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, 26 Jul 2022 09:37:44 +0800 From: Jie Hai To: , CC: , , , Subject: [PATCH v3 0/7] dmaengine: hisilicon: Add support for hisi dma driver Date: Tue, 26 Jul 2022 09:35:18 +0800 Message-ID: <20220726013525.13059-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 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 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 | 651 +++++++++++++++++++++++++++++++++++------ 2 files changed, 556 insertions(+), 96 deletions(-) -- 2.33.0