linux/drivers/bus/fsl-mc
Laurentiu Tudor 8567494ceb bus: fsl-mc: rescan devices if endpoint not found
If the endpoint of a device is not yet probed on the bus, force
a rescan of the devices and retry to get a reference to the
endpoint device. If the device is still not found then we assume
it's in a different isolation context (container/DPRC) thus
unavailable and return a permission error.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Robert-Ionut Alexa <robert-ionut.alexa@nxp.com>
Link: https://lore.kernel.org/r/20210715140718.8513-7-laurentiu.tudor@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-21 13:56:25 +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: dprc-driver: Fix some missing/incorrect function parameter descriptions 2021-06-17 13:44:32 +02:00
dprc.c bus: fsl-mc: dprc: Fix a couple of misspelling and formatting issues 2021-06-17 13:44:32 +02:00
fsl-mc-allocator.c bus: fsl-mc: fsl-mc-allocator: Fix misspelling of 'new_mc_adev' and demote non-kernel-doc headers 2021-06-17 13:44:33 +02:00
fsl-mc-bus.c bus: fsl-mc: rescan devices if endpoint not found 2021-07-21 13:56:25 +02:00
fsl-mc-msi.c bus: fsl-mc-msi: Fix a little doc-rot pertaining to 'np' to 'fwnode' conversion 2021-06-17 13:44:33 +02:00
fsl-mc-private.h bus: fsl-mc: add autorescan sysfs 2021-01-27 15:13:53 +01:00
fsl-mc-uapi.c bus: fsl-mc: list more commands as accepted through the ioctl 2021-02-09 10:56:39 +01:00
Kconfig bus: fsl-mc: add fsl-mc userspace support 2021-01-27 15:13:52 +01:00
Makefile bus: fsl-mc: add fsl-mc userspace support 2021-01-27 15:13:52 +01:00
mc-io.c bus: fsl-mc: mc-io: Correct misdocumentation of 'dpmcp_dev' param 2021-06-17 13:44:33 +02:00
mc-sys.c bus: fsl-mc: mc-sys: Supply missing function names in kernel-doc headers 2021-06-17 13:44:32 +02:00