]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/fsl-mc: Scan DPRC objects on vfio-fsl-mc driver bind
authorDiana Craciun <diana.craciun@oss.nxp.com>
Mon, 5 Oct 2020 17:36:46 +0000 (20:36 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 12 Oct 2020 17:32:03 +0000 (11:32 -0600)
commit9c74838a98e41fd89c1a5609d373a596586bcfa2
treecc0b4f8840f8473c3840a70b3ee9aa298b416e69
parentb230f4e7540f6cd13fc7dc7e11965f41a0c5fa3c
vfio/fsl-mc: Scan DPRC objects on vfio-fsl-mc driver bind

The DPRC (Data Path Resource Container) device is a bus device and has
child devices attached to it. When the vfio-fsl-mc driver is probed
the DPRC is scanned and the child devices discovered and initialized.

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
drivers/vfio/fsl-mc/vfio_fsl_mc_private.h