aboutsummaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorGravatar Nipun Gupta <nipun.gupta@amd.com> 2023-06-05 18:40:09 +0530
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-06-15 13:42:16 +0200
commitb8c5ff76059ded3758de3db83e04189a072ac01f (patch)
treeefc56ff8f617ccd88c024133aa1f53c9f1d00ee5 /drivers/md
parentsamples: Add userspace example for TI TPS6594 PFSM (diff)
downloadlinux-b8c5ff76059ded3758de3db83e04189a072ac01f.tar.gz
linux-b8c5ff76059ded3758de3db83e04189a072ac01f.tar.bz2
linux-b8c5ff76059ded3758de3db83e04189a072ac01f.zip
cdx: fix driver managed dma support
The devices on cdx could be bound to drivers with the device DMA managed by kernel drivers or user-space applications. As multiple devices can be placed in the same IOMMU group, the DMA on these devices must either be entirely under kernel control or userspace control. Fix the CDX bus driver to acknowlege the driver_managed_dma flag and call the appropriate iommu APIs. Fixes: 2959ab247061 ("cdx: add the cdx bus driver") Signed-off-by: Nipun Gupta <nipun.gupta@amd.com> Reported-by: Alex Williamson <alex.williamson@redhat.com> Closes: https://lore.kernel.org/lkml/20230524134831.28dc97e2.alex.williamson@redhat.com/ Reviewed-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Message-ID: <20230605131009.6869-1-nipun.gupta@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions