vfio/fsl-mc: Implement VFIO_DEVICE_GET_INFO ioctl
authorDiana Craciun <diana.craciun@oss.nxp.com>
Mon, 5 Oct 2020 17:36:47 +0000 (20:36 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 12 Oct 2020 17:32:19 +0000 (11:32 -0600)
commitf97f4c04e5d6ca8b90b5b412bd7e72de79426263
tree748e6ba9a6705d8d8dd06b36d02a3073ee572789
parent704f5082d8457a2166eb4cb4e460510117c70928
vfio/fsl-mc: Implement VFIO_DEVICE_GET_INFO ioctl

Allow userspace to get fsl-mc device info (number of regions
and irqs).

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/fsl-mc/vfio_fsl_mc.c