>
> This patch series adds the driver for the DPIO object which is a step
> to addressing the final item in the staging TODO list-- adding a
> functional driver on top of the bus driver. The DPIO driver is a
> dependency for other functional drivers such as Ethernet.
>
> An overview of the DPIO ob
On Wed, Apr 12, 2017 at 11:25 AM, Ioana Radulescu
wrote:
> Add a list of TODO items for the Ethernet driver
>
> Signed-off-by: Ioana Radulescu
> ---
> v2: Add note
>
> drivers/staging/fsl-dpaa2/ethernet/TODO | 14 ++
> 1 file changed, 14 insertions(+)
> create mode 100644 drivers/st
On Fri, Apr 21, 2017 at 7:00 AM, Horia Geantă wrote:
>
> When checking the response verb, the valid bit should be masked out,
> since its value flips depending on what Response Register
> (RR0 /RR1) it's been read from.
>
> Fixes: 321eecb06bfb ("bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2")
On Fri, Apr 28, 2017 at 9:38 AM, Horia Geantă wrote:
>
> While dpaa2_fd.simple structure fields are marked __leXX,
> corresponding cpu_to_leXX / leXX_to_cpu conversions are missing.
>
> While here, fix dpaa2_fd_{get,set}_bpid such that BMT, IVP bits
> sharing the 16-bit field with BPID are not aff
On Fri, May 19, 2017 at 8:41 AM, Matthias Brugger
wrote:
>
>
> On 19/05/17 15:13, laurentiu.tu...@nxp.com wrote:
>>
>> From: Stuart Yoder
>>
>> Move the source files out of staging into their final locations:
>>-include files in drivers/staging/fs
From: Itai Katz
The dpmcp driver supports dpmcp version 3.0 and above.
This patch adds the code to check the version.
Signed-off-by: Itai Katz
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dpmcp-cmd.h|6 +++---
drivers/staging/fsl-mc/bus/mc-allocator.c | 11
From: Horia Geantă
There are some error paths that allow for a NULL new_mc_io and err = 0
return code. Return -EINVAL instead.
Signed-off-by: Horia Geantă
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-allocator.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
d-off-by: Itai Katz
(Stuart: reworded commit log)
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c |4 +--
drivers/staging/fsl-mc/bus/mc-allocator.c |6 -
drivers/staging/fsl-mc/bus/mc-bus.c | 38 +
3 files changed, 2 inser
the hardware.
Signed-off-by: Itai Katz
(Stuart: resolved merge conflict, updated commit subject/log)
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-bus.c | 45 ---
1 file changed, 37 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/fsl
From: Itai Katz
The dprc driver supports dprc version 5.0 and above.
This patch adds the code to check the version.
Signed-off-by: Itai Katz
(Stuart: resolved merge conflicts, split dpseci quirk into separate patch)
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-cmd.h
From: Itai Katz
Some DPAA2 devices have mmio regions that should be mapped as
cacheable by drivers. Set IORESOURCE_CACHEABLE in the region's
flags if applicable.
Signed-off-by: Itai Katz
[Stuart: update subject and commit message]
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-m
From: Stuart Yoder
incorporated feedback from review comments, other misc cleanup/tweaks
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/README.txt | 138 +
1 file changed, 80 insertions(+), 58 deletions(-)
diff --git a/drivers/staging/fsl-mc
From: Stuart Yoder
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dpbp.c | 77 -
drivers/staging/fsl-mc/include/dpbp-cmd.h |4 +-
drivers/staging/fsl-mc/include/dpbp.h | 51 ++-
3 files changed, 127 insertions(+), 5
From: Stuart Yoder
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dpmcp-cmd.h |5 ++---
drivers/staging/fsl-mc/bus/dpmcp.c | 35 ++--
drivers/staging/fsl-mc/bus/dpmcp.h | 10 ++---
3 files changed, 6 insertions(+), 44 deletions
From: Stuart Yoder
Unless discovered devices have the no shareability flag set,
set up coherent dma ops for them.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-bus.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c
b/drivers
From: Stuart Yoder
This patch series makes further progress towards completing the fsl-mc
TODO list.
-patch 1 removes three items from the TODO file that were previously
completed-- multiple root dprc support, MSI support, and command
serialization
-patch 2 makes some way overdue updates to
From: Stuart Yoder
The meaning of the "status" parameter in dprc_get_irq_status
has changed, and this patch updates the flib and caller
of the API.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-cmd.h|4 ++--
drivers/staging/fsl-mc/bus/dprc-driver.c |1
From: Stuart Yoder
remove 3 of the remaining TODO items:
-multiple root fsl-mc buses-- done in patch series starting with
commit 14f928054a05 ("staging: fsl-mc: abstract test for existence
of fsl-mc bus")
-interrupt support-- done in patch series starting with
From: Stuart Yoder
Add Stuart Yoder as additional maintainer of fsl-mc bus driver.
Signed-off-by: Stuart Yoder
---
MAINTAINERS |1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 03e00c7..62db04e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4670,6 +4670,7
pdated comment in patch)
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c |9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c
b/drivers/staging/fsl-mc/bus/dprc-driver.c
index 53c6e98..7fc4717 100644
--- a/drivers/staging/fsl-
From: Horia Geantă
There are some error paths that allow for a NULL new_mc_io and err = 0
return code. Return -EINVAL instead.
Signed-off-by: Horia Geantă
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-allocator.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
> -Original Message-
> From: Stuart Yoder
> Date: Mon, Apr 11, 2016 at 11:56 AM
> Subject: [PATCH 13/14] staging: fsl-mc: return -EINVAL for all
> fsl_mc_portal_allocate() failures
> To: gre...@linuxfoundation.org, german.riv...@nxp.com
> Cc: de...@driverdev.
scale.com;
> jiang@linux.intel.com; t...@linutronix.de
> Cc: tred...@nvidia.com; Stuart Yoder ; jroe...@suse.de;
> ag...@suse.de;
> b...@suse.de; matthias@gmail.com; bhaktipriy...@gmail.com;
> linux-ker...@vger.kernel.org;
> devicet...@vger.kernel.org; de...@driverdev.osuosl.org;
&g
> -Original Message-
> From: Matthias Brugger [mailto:mbrug...@suse.com]
> Sent: Thursday, April 14, 2016 4:24 PM
> To: german.riv...@freescale.com; gre...@linuxfoundation.org
> Cc: Stuart Yoder ; Scott Wood ;
> ag...@suse.de; linux-
> ker...@vger.kernel.org; de...
> -Original Message-
> From: Horia Ioan Geanta Neag
> Sent: Wednesday, April 20, 2016 6:42 AM
> To: Stuart Yoder ; Jose Rivera
> Cc: gre...@linuxfoundation.org; de...@driverdev.osuosl.org;
> linux-ker...@vger.kernel.org;
> ag...@suse.de; a...@arndb.de; Yang-
Add Stuart Yoder as additional maintainer of fsl-mc bus driver.
Signed-off-by: Stuart Yoder
---
MAINTAINERS |1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 03e00c7..62db04e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4670,6 +4670,7 @@ F:sound
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Friday, April 29, 2016 8:01 PM
> To: Stuart Yoder
> Cc: Jose Rivera ; de...@driverdev.osuosl.org;
> ag...@suse.de; a...@arndb.de;
> linux-ker...@vger.kernel.org; Yang-Leo Li
> S
> -Original Message-
> From: Lijun Pan [mailto:lijun@freescale.com]
> Sent: Monday, February 08, 2016 5:40 PM
> To: gre...@linuxfoundation.org; a...@arndb.de; de...@driverdev.osuosl.org;
> linux-
> ker...@vger.kernel.org
> Cc: stuart.yo...@freescale.com; itai.k...@freescale.com;
> g
update TODO list to provide more detail on remaining work
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/TODO | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-mc/TODO b/drivers/staging/fsl-mc/TODO
index d78288b..c29516b
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/README.txt | 364 ++
drivers/staging/fsl-mc/TODO | 4 -
2 files changed, 364 insertions(+), 4 deletions(-)
create mode 100644 drivers/staging/fsl-mc/README.txt
diff --git a/drivers/staging/fsl-mc
add README file providing an overview of the DPAA2 architecture
and how it is integrated in Linux
Signed-off-by: Stuart Yoder
---
-v2: added changelog text
drivers/staging/fsl-mc/README.txt | 364 ++
drivers/staging/fsl-mc/TODO | 4 -
2 files changed
driver
bus: fsl-mc: dpio: add maintainer for DPIO
Stuart Yoder (2):
staging: fsl-mc: move bus driver out of staging
bus: fsl-mc: dpio: add DPIO driver overview document
Documentation/dpaa2/dpio-driver.txt| 135 +++
.../README.txt => Documentation/dpaa2/overview.txt |
From: Roy Pledge
Create header for global dpaa2 definitions. Add definitions
for dequeue results.
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
include/linux/fsl/dpaa2-global.h | 203 +++
1 file changed, 203 insertions(+)
create mode 100644
From: Roy Pledge
Add global definitions for DPAA2 frame descriptors and scatter
gather entries.
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-no changes
-v2
-added setter/getter for the FD ctrl field
-corrected comment for SG format_offset
Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-no changes
-v2
-handle error case where number of DPIOs > NR_CPUs
drivers/bus/fsl-mc/dpio/Makefile | 2 +-
drivers/bus/fsl-mc/dpio/dpio-driver.c | 295 ++
2 files changed, 296 inserti
From: Roy Pledge
add Roy Pledge as maintainer of DPIO
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-no changes
-v2
-corrected location of maintainer entry
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b
.
Signed-off-by: Roy Pledge
Signed-off-by: Haiying Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-zero memory allocated for a dpio store (bug fix suggested
by Ioana Radulescu)
-v2
-use service_select_by_cpu() for re-arming DPIO interrupts
-replace use of NR_CPUS
From: Roy Pledge
Add QBman APIs for frame queue and buffer pool operations.
Signed-off-by: Roy Pledge
Signed-off-by: Haiying Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-replace hardcoded dequeue token with a #define and check that
token when checking for a new result
From: Ioana Radulescu
Add the command build/parse APIs for operating on DPIO objects through
the DPAA2 Management Complex.
Signed-off-by: Ioana Radulescu
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-no changes
-v2
-removed unused structs and
add document describing the dpio driver and it's role, components
and major interfaces
Signed-off-by: Stuart Yoder
---
Documentation/dpaa2/dpio-driver.txt | 135
1 file changed, 135 insertions(+)
create mode 100644 Documentation/dpaa2/dpio-driver.txt
overview of DPAA goes to
Documentation/dpaa2/overview.txt
-update MAINTAINERS with new location
Delete other remaining staging files-- Makefile, Kconfig, TODO
Signed-off-by: Stuart Yoder
---
Notes:
-v3
-no changes
-v2
-updated MAINTAINERS with new location
.../README.txt
nean ; Bogdan Hamciuc
> ; Stuart Yoder
> ; Roy Pledge ; Laurentiu Tudor
>
> Subject: Re: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file
>
> On Tue, Dec 06, 2016 at 10:06:25AM +, Ruxandra Ioana Radulescu wrote:
> > > -Original Message-
> > > Fro
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Tuesday, December 06, 2016 11:56 AM
> To: Stuart Yoder
> Cc: Ruxandra Ioana Radulescu ;
> de...@driverdev.osuosl.org; linux-
> ker...@vger.kernel.org; ag...@suse.de; a...@arndb.de
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Wednesday, December 07, 2016 9:53 AM
> To: Stuart Yoder
> Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de;
> a...@arndb.de; Leo Li
> ; Ioana Ciorne
define the bind/unbind sysfs interfaces for the fsl-mc bus
Signed-off-by: Stuart Yoder
---
Documentation/ABI/testing/sysfs-bus-fsl-mc | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-fsl-mc
diff --git a/Documentation/ABI
remove pr_info/dev_info prints that add unnecessary verbosity
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c
b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c
index f9fed63
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Thursday, December 08, 2016 10:05 AM
> To: Stuart Yoder
> Cc: de...@driverdev.osuosl.org; ag...@suse.de; a...@arndb.de;
> linux-ker...@vger.kernel.org; Leo Li
> ; Catalin Horghid
> > > Where is the device freed? I see you trying to do some "odd" stuff in
> > > fsl_mc_device_remove() by deleting and then putting a device structure.
> > > I can't find a "release()" callback anywhere for your bus, where is it?
> > >
> > > What happens when the reference count falls to 0 for y
> > +#define DPIO_CMD(id) ((id << DPIO_CMD_ID_OFFSET) |
> > DPIO_CMD_BASE_VERSION)
>
> Paranthesis around 'id'?
In all cases these are opcode values and will never be an expression. If
we really need to future proof these definitions, we should do it for all
objects not just DPIO. I'd li
> -Original Message-
> From: Laurentiu Tudor
> Sent: Friday, December 02, 2016 6:12 AM
> To: Stuart Yoder ; gre...@linuxfoundation.org
> Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de;
> a...@arndb.de; Leo Li
> ; Ioana Ciorne
> -Original Message-
> From: Laurentiu Tudor
> Sent: Friday, December 02, 2016 6:19 AM
> To: Stuart Yoder ; gre...@linuxfoundation.org
> Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de;
> a...@arndb.de; Leo Li
> ; Ioana Ciorne
> -Original Message-
> From: Laurentiu Tudor
> Sent: Friday, December 02, 2016 6:40 AM
> To: Stuart Yoder ; gre...@linuxfoundation.org
> Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de;
> a...@arndb.de; Leo Li
> ; Ioana Ciorne
> > +struct dpaa2_io *dpaa2_io_create(const struct dpaa2_io_desc *desc)
> > +{
> > + struct dpaa2_io *obj = kmalloc(sizeof(*obj), GFP_KERNEL);
> > +
> > + if (!obj)
> > + return NULL;
> > +
> > + /* check if CPU is out of range (-1 means any cpu) */
> > + if (desc->cpu >= num_poss
add document describing the dpio driver and it's role, components
and major interfaces
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt | 135
1 file changed, 135 insertions(+)
create mode 1
Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
-adjust file location to be in drivers/staging
-whitespace alignment cleanup
-v3
-no changes
-v2
-handle error case where number of DPIOs > NR_CPUs
drivers/staging/fsl-mc/bus/d
global dpaa2 definitions
bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2
bus: fsl-mc: dpio: add the DPAA2 DPIO service interface
bus: fsl-mc: dpio: add the DPAA2 DPIO object driver
bus: fsl-mc: dpio: add maintainer for DPIO
Stuart Yoder (1):
bus: fsl-mc: dpio: add DPIO driver overview
From: Roy Pledge
add Roy Pledge as maintainer of DPIO
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
-v3
-no changes
-v2
-corrected location of maintainer entry
MAINTAINERS | 6 ++
1
From: Ioana Radulescu
Add the command build/parse APIs for operating on DPIO objects through
the DPAA2 Management Complex.
Signed-off-by: Ioana Radulescu
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
From: Roy Pledge
Add global definitions for DPAA2 frame descriptors and scatter
gather entries.
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
-adjust file location to be in drivers/staging
-address cleanup comments
.
Signed-off-by: Roy Pledge
Signed-off-by: Haiying Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
-adjust file location to be in drivers/staging
-updated copyright
-added missing free on error path
-fixed typo in comment
-whitespace and
From: Roy Pledge
Add QBman APIs for frame queue and buffer pool operations.
Signed-off-by: Roy Pledge
Signed-off-by: Haiying Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
-updated copyright
-added definition for
From: Roy Pledge
Create header for global dpaa2 definitions. Add definitions
for dequeue results.
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
-whitespace/alignment cleanup, make
> -Original Message-
> From: kbuild test robot [mailto:l...@intel.com]
> Sent: Friday, December 16, 2016 1:57 AM
> To: Stuart Yoder
> Cc: kbuild-...@01.org; gre...@linuxfoundation.org;
> de...@driverdev.osuosl.org; ag...@suse.de;
> a...@arndb.de; Haiying Wang ;
add document describing the dpio driver and it's role, components
and major interfaces
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt | 135
1 file changed, 135 insertions(+)
create mode 1
From: Roy Pledge
Create header for global dpaa2 definitions. Add definitions
for dequeue results.
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
-whitespace/alignment cleanup, make
From: Roy Pledge
Add global definitions for DPAA2 frame descriptors and scatter
gather entries.
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
-adjust file location to be in drivers/staging
-address cleanup comments
From: Roy Pledge
Add QBman APIs for frame queue and buffer pool operations.
Signed-off-by: Roy Pledge
Signed-off-by: Haiying Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v5
-fixed typo that caused a compile error
-v4
-adjust file location to be in drivers/staging
Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
-adjust file location to be in drivers/staging
-whitespace alignment cleanup
-v3
-no changes
-v2
-handle error case where number of DPIOs > NR_CPUs
drivers/staging/fsl-mc/bus/d
.
Signed-off-by: Roy Pledge
Signed-off-by: Haiying Wang
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-updated copyright
-adjust file location to be in drivers/staging
-updated copyright
-added missing free on error path
-fixed typo in comment
-whitespace and
From: Roy Pledge
add Roy Pledge as maintainer of DPIO
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
-v3
-no changes
-v2
-corrected location of maintainer entry
MAINTAINERS | 6 ++
1
From: Ioana Radulescu
Add the command build/parse APIs for operating on DPIO objects through
the DPAA2 Management Complex.
Signed-off-by: Ioana Radulescu
Signed-off-by: Roy Pledge
Signed-off-by: Stuart Yoder
---
Notes:
-v4
-adjust file location to be in drivers/staging
DPIO
Stuart Yoder (1):
bus: fsl-mc: dpio: add DPIO driver overview document
MAINTAINERS |6 +
drivers/staging/fsl-mc/bus/Kconfig | 10 +
drivers/staging/fsl-mc/bus/Makefile |3 +
drivers/staging/fsl-mc/bus/dpio/Makefile
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Tuesday, January 03, 2017 10:48 AM
> To: Stuart Yoder
> Cc: de...@driverdev.osuosl.org; a...@arndb.de; Roy Pledge
> ; Alexandru Marginean
> ; linux-ker...@vger.kernel.org; ag...@suse.
rdev.osuosl.org; a...@arndb.de; Ruxandra Ioana Radulescu
> ;
> Roy Pledge ; linux-ker...@vger.kernel.org; ag...@suse.de;
> Catalin Horghidan
> ; Leo Li ; Stuart Yoder
> ;
> Laurentiu Tudor
> Subject: [upstream-release] [PATCH 3/9] staging: fsl-mc: add device release
> callback
t; Ciornei ; Ruxandra Ioana Radulescu
> ; Bharat Bhushan
> ; Stuart Yoder ; Catalin
> Horghidan
> ; Leo Li ; Roy Pledge
> ; Laurentiu
> Tudor
> Subject: [PATCH 4/9] staging: fsl-mc: don't use devres api for refcounted
> objects
>
> From: Laurentiu Tudor
> --- a/drivers/staging/fsl-mc/include/dprc.h
> +++ b/drivers/staging/fsl-mc/include/dprc.h
> @@ -42,20 +42,6 @@
>
> struct fsl_mc_io;
>
> -/**
> - * Set this value as the icid value in dprc_cfg structure when creating a
> - * container, in case the ICID is not selected by the user and should be
t; Ciornei ; Ruxandra Ioana Radulescu
> ; Bharat Bhushan
> ; Stuart Yoder ; Catalin
> Horghidan
> ; Leo Li ; Roy Pledge
> ; linux-arm-
> ker...@lists.infradead.org; Laurentiu Tudor
> Subject: [PATCH 00/10][v2] staging: fsl-mc: fixes and cleanups
>
> From: Laurentiu Tudo
t; Ciornei ; Ruxandra Ioana Radulescu
> ; Bharat Bhushan
> ; Stuart Yoder ; Catalin
> Horghidan
> ; Leo Li ; Roy Pledge
> ; linux-arm-
> ker...@lists.infradead.org; Laurentiu Tudor
> Subject: [PATCH v3 00/10] staging: fsl-mc: fixes and cleanups
>
> From: Laurentiu Tudo
Add Laurentiu Tudor as a second maintainer and update Stuart Yoder's
email address.
Signed-off-by: Stuart Yoder
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index c2395ea..6050912 100644
--- a/MAINTAINERS
+++ b/MAINTA
> -Original Message-
> From: Bharat Bhushan [mailto:bharat.bhus...@nxp.com]
> Sent: Thursday, June 16, 2016 1:52 AM
> To: gre...@linuxfoundation.org; Stuart Yoder
> Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; Bharat Bhushan
>
> Subject: [PATCH] f
In order to support uevent based module loading implement modalias support
for the fsl-mc bus driver. Aliases are based on vendor and object/device
id and are of the form "fsl-mc:vNdN".
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-bus.c | 25 +++
-rename the struct used for fsl-mc device ids to be more
consistent with other busses
-remove the now obsolete and unused version fields
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +-
drivers/staging/fsl-mc/bus/mc-allocator.c | 2 +-
drivers/staging/fsl-mc
Replace placeholder code in the uevent callback to properly
set the MODALIAS env variable.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-bus.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c
b/drivers/staging/fsl-mc
make fsl_mc_is_root_dprc() global so that the dprc driver
can use it
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-bus.c | 28 +---
drivers/staging/fsl-mc/include/mc.h | 2 ++
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers
root dprc and reworded commit message]
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 5 +
drivers/staging/fsl-mc/bus/mc-bus.c | 8
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c
b/drivers
When unbinding a dprc from the dprc driver the cleanup of
the resource pools must happen after irq pool cleanup
is done.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/fsl-mc
some drivers (built as modules) rely on mc_get_version()
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dpmng.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/fsl-mc/bus/dpmng.c
b/drivers/staging/fsl-mc/bus/dpmng.c
index f633fcd..a31fa9b 100644
--- a/drivers
index to
compose a hwirq value.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/mc-msi.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-mc/bus/mc-msi.c
b/drivers/staging/fsl-mc/bus/mc-msi.c
index e202b2b..c7be156 100644
--- a
add missing free of the Linux irq when tearing down interrupts
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c
b/drivers/staging/fsl-mc/bus/dprc-driver.c
index 1a6bcc4
want other
new drivers to follow.
Bharat Bhushan (1):
staging: fsl-mc: fix asymmetry in destroy of mc_io
Ioana Radulescu (1):
staging: fsl-mc: convert mc command build/parse to use C structs
Stuart Yoder (9):
staging: fsl-mc: add support for the modalias sysfs attribute
staging: fsl-mc
Move the definition of fsl_mc_device_id to its proper location in
mod_devicetable.h, and add fsl-mc bus support to devicetable-offsets.c
and file2alias.c to enable device table matching. With this patch udev
based module loading of fsl-mc drivers is supported.
Signed-off-by: Stuart Yoder
and the APIs exposed for the DPAA2 objects remain the same.
Signed-off-by: Ioana Radulescu
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dpbp.c | 132 --
drivers/staging/fsl-mc/bus/dpmcp-cmd.h| 86 +++-
drivers/staging/fsl-mc/bus/dpmcp.c| 89 ++--
drivers
> -Original Message-
> From: Matthias Brugger [mailto:mbrug...@suse.com]
> Sent: Wednesday, June 29, 2016 9:17 AM
> To: Stuart Yoder ; gre...@linuxfoundation.org
> Cc: de...@driverdev.osuosl.org; ag...@suse.de; a...@arndb.de; Jose Rivera
> ;
> linux-ker...@vger.ke
> -Original Message-
> From: Nipun Gupta [mailto:nipun.gu...@nxp.com]
> Sent: Wednesday, June 29, 2016 12:15 PM
> To: gre...@linuxfoundation.org; Stuart Yoder
> Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; Nipun Gupta
> ; Bharat
> Bhushan
> Su
The resource pool init/cleanup functions logically belong in the
allocator. Move them to the allocator and rename to reflect the
move out of the dprc-driver.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 55 ++-
drivers/staging/fsl-mc
move public bus-related definitions to the proper mc-bus.h header.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/include/mc-bus.h | 16
drivers/staging/fsl-mc/include/mc.h | 16
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a
some source files to improve clarity
-create a new mc-io component to contain all APIs related to the
mc-io abstraction
-remove unneeded includes and forward definitions
Stuart Yoder (14):
staging: fsl-mc: rename mc-private.h to mc-bus.h
staging: fsl-mc: improve naming of source files
.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 1 +
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 1 +
drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 1 +
drivers/staging/fsl-mc/bus/fsl-mc-private.h | 44 +++
drivers/staging/fsl-mc
Move definitions that are private to fsl-mc-bus.c out of the
public mc-bus.h and mc.h headers.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 33 +
drivers/staging/fsl-mc/include/mc-bus.h | 28
drivers
Remove unneeded and duplicated forward declarations.
Signed-off-by: Stuart Yoder
---
drivers/staging/fsl-mc/include/mc-bus.h | 4
drivers/staging/fsl-mc/include/mc.h | 1 -
2 files changed, 5 deletions(-)
diff --git a/drivers/staging/fsl-mc/include/mc-bus.h
b/drivers/staging/fsl-mc
1 - 100 of 178 matches
Mail list logo