From: Ioana Ciornei <ioana.ciornei@nxp.com> To: Leo Li <leoyang.li@nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "netdev@vger.kernel.org" <netdev@vger.kernel.org> Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>, Horia Geanta <horia.geanta@nxp.com>, Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>, Roy Pledge <roy.pledge@nxp.com>, Ioana Ciornei <ioana.ciornei@nxp.com> Subject: [PATCH 0/5] soc: fsl: add device links support for devices on the fsl-mc bus Date: Mon, 10 Dec 2018 16:50:16 +0000 [thread overview] Message-ID: <1544460591-14888-1-git-send-email-ioana.ciornei@nxp.com> (raw) 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(-) -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Ioana Ciornei <ioana.ciornei@nxp.com> To: Leo Li <leoyang.li@nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "netdev@vger.kernel.org" <netdev@vger.kernel.org> Cc: Roy Pledge <roy.pledge@nxp.com>, Ioana Ciornei <ioana.ciornei@nxp.com>, Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>, Horia Geanta <horia.geanta@nxp.com>, Laurentiu Tudor <laurentiu.tudor@nxp.com> Subject: [PATCH 0/5] soc: fsl: add device links support for devices on the fsl-mc bus Date: Mon, 10 Dec 2018 16:50:16 +0000 [thread overview] Message-ID: <1544460591-14888-1-git-send-email-ioana.ciornei@nxp.com> (raw) 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(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2018-12-10 16:50 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-10 16:50 Ioana Ciornei [this message] 2018-12-10 16:50 ` [PATCH 0/5] soc: fsl: add device links support for devices on the fsl-mc bus Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` [PATCH 1/5] soc: fsl: dpio: perform DPIO Reset on Probe Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` [PATCH 2/5] soc: fsl: dpio: keep a per dpio device MC portal Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` [PATCH 3/5] soc: fsl: dpio: store a backpointer to the device backing the dpaa2_io Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` [PATCH 5/5] bus: fsl-mc: automatically add a device_link on fsl_mc_[portal,object]_allocate Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` [PATCH 4/5] soc: fsl: dpio: add a device_link at dpaa2_io_service_register Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-10 16:50 ` Ioana Ciornei 2018-12-14 14:44 ` Horia Geanta 2018-12-14 14:44 ` Horia Geanta 2018-12-14 14:44 ` Horia Geanta 2018-12-14 14:49 ` Ioana Ciocoi Radulescu 2018-12-14 14:49 ` Ioana Ciocoi Radulescu 2018-12-14 14:49 ` Ioana Ciocoi Radulescu 2018-12-17 10:46 ` [PATCH 0/5] soc: fsl: add device links support for devices on the fsl-mc bus Laurentiu Tudor 2018-12-17 10:46 ` Laurentiu Tudor 2018-12-17 10:46 ` Laurentiu Tudor
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1544460591-14888-1-git-send-email-ioana.ciornei@nxp.com \ --to=ioana.ciornei@nxp.com \ --cc=horia.geanta@nxp.com \ --cc=laurentiu.tudor@nxp.com \ --cc=leoyang.li@nxp.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=netdev@vger.kernel.org \ --cc=roy.pledge@nxp.com \ --cc=ruxandra.radulescu@nxp.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.