[PATCH v2 0/7] dmaengine: hisilicon: Add support for hisi dma driver

Jie Hai posted 7 patches 3 years, 10 months ago
There is a newer version of this series
MAINTAINERS            |   1 +
drivers/dma/hisi_dma.c | 730 +++++++++++++++++++++++++++++++++++------
2 files changed, 635 insertions(+), 96 deletions(-)
[PATCH v2 0/7] dmaengine: hisilicon: Add support for hisi dma driver
Posted by Jie Hai 3 years, 10 months ago
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
Re: [PATCH v2 0/7] dmaengine: hisilicon: Add support for hisi dma driver
Posted by Zhou Wang 3 years, 9 months ago
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 <wangzhou1@hisilicon.com>

Thanks for the bug fixes and supporting for IP09 dma :)

Best,
Zhou