diff options
author | Nipun Gupta <nipun.gupta@amd.com> | 2023-09-15 07:54:21 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-09-28 21:12:07 +0300 |
commit | a941b784b15ff65e1a3b6a259c6d6cf7fa0bb3c3 (patch) | |
tree | 10bcc48828fc5741e1cbce64efe13916ab971288 /drivers/vfio/cdx | |
parent | a1e16a38968806b5fc855e17bc124d752a6b7fc8 (diff) | |
download | linux-a941b784b15ff65e1a3b6a259c6d6cf7fa0bb3c3.tar.xz |
cdx: add support for bus mastering
Introduce cdx_set_master() and cdx_clear_master() APIs to support
enable and disable of bus mastering. Drivers need to use these APIs to
enable/disable DMAs from the CDX devices.
Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Link: https://lore.kernel.org/r/20230915045423.31630-1-nipun.gupta@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/cdx')
0 files changed, 0 insertions, 0 deletions