Message ID | 1544460591-14888-1-git-send-email-ioana.ciornei@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | soc: fsl: add device links support for devices on the fsl-mc bus | expand |
> -----Original Message----- > From: Ioana Ciornei > Sent: Monday, December 10, 2018 6:50 PM > > The fsl-mc bus discovers and exports devices dynamically allocated > by the Management Complex firmware. > This patch set adds the ability to automatically create a device link > between a consumer device on the fsl-mc bus and a supplier one. > For example, a dpni device (a network interface) requests access to a > dpio device (I/O portal) using the dpaa2_io_service_register function > which is enhanced to also add the corresponding device link between > them. > > The first 3 patches set the stage for a proper handling of device > links while the following 2 are the ones that add the actual links. > > The internal management of the links is not exported to the consumer > driver, but it's rather included in the functions that actually allocate > the provider device: fsl_mc_portal_allocate, fsl_mc_object_allocate and > dpaa2_io_service_register. > > Ioana Ciornei (4): > soc: fsl: dpio: keep a per dpio device MC portal > soc: fsl: dpio: store a backpointer to the device backing the dpaa2_io > soc: fsl: dpio: add a device_link at dpaa2_io_service_register > bus: fsl-mc: automatically add a device_link on > fsl_mc_[portal,object]_allocate > > Roy Pledge (1): > soc: fsl: dpio: perform DPIO Reset on Probe > > drivers/bus/fsl-mc/fsl-mc-allocator.c | 11 +++++++++++ > drivers/bus/fsl-mc/mc-io.c | 13 +++++++++++++ > drivers/crypto/caam/caamalg_qi2.c | 6 +++--- > drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 9 +++++---- > drivers/soc/fsl/dpio/dpio-cmd.h | 1 + > drivers/soc/fsl/dpio/dpio-driver.c | 18 +++++++++--------- > drivers/soc/fsl/dpio/dpio-service.c | 23 > ++++++++++++++++++++--- > drivers/soc/fsl/dpio/dpio.c | 23 > +++++++++++++++++++++++ > drivers/soc/fsl/dpio/dpio.h | 4 ++++ > include/linux/fsl/mc.h | 1 + > include/soc/fsl/dpaa2-io.h | 9 ++++++--- > 11 files changed, 96 insertions(+), 22 deletions(-) Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> --- Best Regards, Laurentiu