vfio/cdx: Remove redundant initialization owner in vfio_cdx_driverThe cdx_driver_register() will set "THIS_MODULE" to driver.owner whenregister a cdx_driver driver, so it is redundant initializati
vfio/cdx: Remove redundant initialization owner in vfio_cdx_driverThe cdx_driver_register() will set "THIS_MODULE" to driver.owner whenregister a cdx_driver driver, so it is redundant initialization to setdriver.owner in the statement. Remove it for clean code.Signed-off-by: Li Zetao <lizetao1@huawei.com>Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com>Link: https://lore.kernel.org/r/20230808020937.2975196-1-lizetao1@huawei.comSigned-off-by: Alex Williamson <alex.williamson@redhat.com>
show more ...
vfio/cdx: add support for CDX busvfio-cdx driver enables IOCTLs for user space to queryMMIO regions for CDX devices and mmap them. This changealso adds support for reset of CDX devices. With VFIO
vfio/cdx: add support for CDX busvfio-cdx driver enables IOCTLs for user space to queryMMIO regions for CDX devices and mmap them. This changealso adds support for reset of CDX devices. With VFIOenabled on CDX devices, user-space applications can alsoexercise DMA securely via IOMMU on these devices.This change adds the VFIO CDX driver and enables the followingioctls for CDX devices: - VFIO_DEVICE_GET_INFO: - VFIO_DEVICE_GET_REGION_INFO - VFIO_DEVICE_RESETSigned-off-by: Nipun Gupta <nipun.gupta@amd.com>Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com>Link: https://lore.kernel.org/r/20230531124557.11009-1-nipun.gupta@amd.comSigned-off-by: Alex Williamson <alex.williamson@redhat.com>