vfio: add bus master feature to device feature ioctl
authorNipun Gupta <nipun.gupta@amd.com>
Fri, 15 Sep 2023 04:54:22 +0000 (10:24 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 28 Sep 2023 18:12:07 +0000 (12:12 -0600)
commitf59a7b6af012619199c55f587a6c4ed681639b32
treef2c3e4e32661fdf856a6a4517007a4229a8414ac
parenta941b784b15ff65e1a3b6a259c6d6cf7fa0bb3c3
vfio: add bus master feature to device feature ioctl

add bus mastering control to VFIO_DEVICE_FEATURE IOCTL. The VFIO user
can use this feature to enable or disable the Bus Mastering of a
device bound to VFIO.

Co-developed-by: Shubham Rohila <shubham.rohila@amd.com>
Signed-off-by: Shubham Rohila <shubham.rohila@amd.com>
Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
Link: https://lore.kernel.org/r/20230915045423.31630-2-nipun.gupta@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
include/uapi/linux/vfio.h