linux/drivers/bus/fsl-mc
Diana Craciun 5d781fabe6 bus/fsl-mc: Export dprc_scan/dprc_remove functions to be used by multiple entities
Currently the DPRC scan function is used only by the bus driver.
But the same functionality will be needed by the VFIO driver.
To support this, the dprc scan function was exported and a little
bit adjusted to fit both scenarios. Also the scan mutex initialization
is done when the bus object is created, not in dprc_probe in order
to be used by both VFIO and bus driver.
Similarily dprc_remove_devices is exported to be used by VFIO.

Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Link: https://lore.kernel.org/r/20200929085441.17448-8-diana.craciun@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-02 16:05:01 +02:00
..
dpbp.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpcon.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpmcp.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00
dprc-driver.c bus/fsl-mc: Export dprc_scan/dprc_remove functions to be used by multiple entities 2020-10-02 16:05:01 +02:00
dprc.c bus/fsl-mc: Add dprc-reset-container support 2020-10-02 16:05:01 +02:00
fsl-mc-allocator.c bus: fsl-mc: remove explicit device_link_del 2019-08-16 14:17:35 -05:00
fsl-mc-bus.c bus/fsl-mc: Export dprc_scan/dprc_remove functions to be used by multiple entities 2020-10-02 16:05:01 +02:00
fsl-mc-msi.c bus: fsl-mc: Add ACPI support for fsl-mc 2020-07-28 15:51:32 +01:00
fsl-mc-private.h bus/fsl-mc: Add dprc-reset-container support 2020-10-02 16:05:01 +02:00
Kconfig
Makefile staging: fsl-mc: Move DPCON out of staging 2018-03-14 13:18:42 +01:00
mc-io.c bus: fsl-mc: use raw spin lock to serialize mc cmds 2020-07-23 16:54:33 +02:00
mc-sys.c bus: fsl-mc: use raw spin lock to serialize mc cmds 2020-07-23 16:54:33 +02:00