]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
dmaengine: hisilicon: Add Kunpeng DMA engine support
authorZhou Wang <wangzhou1@hisilicon.com>
Thu, 16 Jan 2020 06:10:57 +0000 (14:10 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 21:31:32 +0000 (16:31 -0500)
commit11f370807676a29af06003a7c1b7461791d94377
tree8aed176c2c04cc58a2e2aa0237d7145577ace07c
parent2bb35143b4521a37e9b10452a62cf6448c1c297a
dmaengine: hisilicon: Add Kunpeng DMA engine support

BugLink: https://launchpad.net/bugs/1864442
This patch adds a driver for HiSilicon Kunpeng DMA engine. This DMA engine
which is an PCIe iEP offers 30 channels, each channel has a send queue, a
complete queue and an interrupt to help to do tasks. This DMA engine can do
memory copy between memory blocks or between memory and device buffer.

Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Zhenfa Qiu <qiuzhenfa@hisilicon.com>
Link: https://lore.kernel.org/r/1579155057-80523-1-git-send-email-wangzhou1@hisilicon.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
(cherry picked from commit e9f08b65250d73ab70e79e194813f52b8d306784)
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/dma/Kconfig
drivers/dma/Makefile
drivers/dma/hisi_dma.c [new file with mode: 0644]