dmaengine: xilinx: xdma: Add user logic interrupt support
authorLizhi Hou <lizhi.hou@amd.com>
Thu, 19 Jan 2023 16:32:06 +0000 (08:32 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 10 Feb 2023 06:02:26 +0000 (11:32 +0530)
commitecf294a6f63f882319485f807754dacaeae96e9d
treea3eb1905b29b4034b834776a3df71321e9d7afd2
parent17ce252266c7f016ece026492c45838f852ddc79
dmaengine: xilinx: xdma: Add user logic interrupt support

The Xilinx DMA/Bridge Subsystem for PCIe (XDMA) provides up to 16 user
interrupt wires to user logic that generate interrupts to the host.
This patch adds APIs to enable/disable user logic interrupt for a given
interrupt wire index.

Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Signed-off-by: Sonal Santan <sonal.santan@amd.com>
Signed-off-by: Max Zhen <max.zhen@amd.com>
Signed-off-by: Brian Xu <brian.xu@amd.com>
Tested-by: Martin Tuma <tumic@gpxsee.org>
Link: https://lore.kernel.org/r/1674145926-29449-3-git-send-email-lizhi.hou@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
MAINTAINERS
drivers/dma/xilinx/xdma.c
include/linux/dma/amd_xdma.h [new file with mode: 0644]