linux_dsm_epyc7002/drivers/dma/idxd
Dave Jiang 4f24543828 dmaengine: idxd: set DMA channel to be private
[ Upstream commit c06e424be5f5184468c5f761c0d2cf1ed0a4e0fc ]

Add DMA_PRIVATE attribute flag to idxd DMA channels. The dedicated WQs are
expected to be used by a single client and not shared. While doing NTB
testing this mistake was discovered, which prevented ntb_transport from
requesting DSA wqs as DMA channels via dma_request_channel().

Reported-by: Srinijia Kambham <srinija.kambham@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Srinijia Kambham <srinija.kambham@intel.com>
Fixes: 8f47d1a5e5 ("dmaengine: idxd: connect idxd to dmaengine subsystem")
Link: https://lore.kernel.org/r/161074758743.2184057.3388557138816350980.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:57 +01:00
..
cdev.c Merge branch 'for-linus' into fixes 2020-08-05 19:02:07 +05:30
device.c dmaengine: idxd: check device state before issue command 2021-02-17 11:02:25 +01:00
dma.c dmaengine: idxd: set DMA channel to be private 2021-03-04 11:37:57 +01:00
idxd.h dmaengine: idxd: check device state before issue command 2021-02-17 11:02:25 +01:00
init.c dmaengine: idxd: check device state before issue command 2021-02-17 11:02:25 +01:00
irq.c dmaengine: idxd: fix misc interrupt completion 2021-02-17 11:02:25 +01:00
Makefile dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
registers.h dmaengine: idxd: fix mapping of portal size 2020-11-16 22:38:20 +05:30
submit.c dmaengine: idxd: fix mapping of portal size 2020-11-16 22:38:20 +05:30
sysfs.c dmaengine: idxd: off by one in cleanup code 2021-01-12 20:18:26 +01:00