[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1544460591-14888-1-git-send-email-ioana.ciornei@nxp.com>
Date: Mon, 10 Dec 2018 16:50:16 +0000
From: Ioana Ciornei <ioana.ciornei@....com>
To: Leo Li <leoyang.li@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: Laurentiu Tudor <laurentiu.tudor@....com>,
Horia Geanta <horia.geanta@....com>,
Ioana Ciocoi Radulescu <ruxandra.radulescu@....com>,
Roy Pledge <roy.pledge@....com>,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH 0/5] soc: fsl: add device links support for devices on the
fsl-mc bus
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
Powered by blists - more mailing lists