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)
commit704f5082d8457a2166eb4cb4e460510117c70928
treecc0b4f8840f8473c3840a70b3ee9aa298b416e69
parentfb1ff4c1941573aea59e4cb575dc5a723303cd70
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