Re: [PATCH 3/3][v4] staging: fsl-mc: move bus driver out of staging

2017-05-19 Thread Stuart Yoder
On Fri, May 19, 2017 at 8:41 AM, Matthias Brugger <matthias@gmail.com> wrote: > > > On 19/05/17 15:13, laurentiu.tu...@nxp.com wrote: >> >> From: Stuart Yoder <stuart.yo...@nxp.com> >> >> Move the source files out of staging into their final locat

Re: [PATCH] staging: fsl-mc/dpio: add cpu <--> LE conversion for dpaa2_fd

2017-04-29 Thread Stuart Yoder
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

Re: [PATCH] bus: fsl-mc: dpio: fix alter FQ state command

2017-04-21 Thread Stuart Yoder
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

Re: [PATCH v2 8/9] staging: fsl-dpaa2/eth: Add TODO file

2017-04-18 Thread Stuart Yoder
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

Re: [v6 0/8] staging: fsl-mc: add dpio driver

2017-03-13 Thread Stuart Yoder
> > 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

[PATCH] staging: fsl-mc: update MAINTAINERS

2017-02-09 Thread Stuart Yoder
Add Laurentiu Tudor as a second maintainer and update Stuart Yoder's email address. Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c2395ea..6050912 100644 --- a/MAINT

RE: [PATCH v3 00/10] staging: fsl-mc: fixes and cleanups

2017-02-08 Thread Stuart Yoder
; Ciornei <ioana.cior...@nxp.com>; Ruxandra Ioana Radulescu > <ruxandra.radule...@nxp.com>; Bharat Bhushan > <bharat.bhus...@nxp.com>; Stuart Yoder <stuart.yo...@nxp.com>; Catalin > Horghidan > <catalin.horghi...@nxp.com>; Leo Li <leoyang

RE: [PATCH 00/10][v2] staging: fsl-mc: fixes and cleanups

2017-02-07 Thread Stuart Yoder
; Ciornei <ioana.cior...@nxp.com>; Ruxandra Ioana Radulescu > <ruxandra.radule...@nxp.com>; Bharat Bhushan > <bharat.bhus...@nxp.com>; Stuart Yoder <stuart.yo...@nxp.com>; Catalin > Horghidan > <catalin.horghi...@nxp.com>; Leo Li <leoyang

RE: [PATCH 9/9] staging: fsl-mc: dprc: drop unused APIs

2017-02-02 Thread Stuart Yoder
> --- 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

RE: [PATCH 4/9] staging: fsl-mc: don't use devres api for refcounted objects

2017-02-02 Thread Stuart Yoder
; Ciornei <ioana.cior...@nxp.com>; Ruxandra Ioana Radulescu > <ruxandra.radule...@nxp.com>; Bharat Bhushan > <bharat.bhus...@nxp.com>; Stuart Yoder <stuart.yo...@nxp.com>; Catalin > Horghidan > <catalin.horghi...@nxp.com>; Leo Li <leoyang...@nxp.com>

RE: [PATCH 3/9] staging: fsl-mc: add device release callback

2017-02-02 Thread Stuart Yoder
iverdev.osuosl.org; a...@arndb.de; Ruxandra Ioana Radulescu > <ruxandra.radule...@nxp.com>; > Roy Pledge <roy.ple...@nxp.com>; linux-ker...@vger.kernel.org; ag...@suse.de; > Catalin Horghidan > <catalin.horghi...@nxp.com>; Leo Li <leoyang...@nxp.com>; Stuart Yoder >

RE: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2017-01-03 Thread Stuart Yoder
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 03, 2017 10:48 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: de...@driverdev.osuosl.org; a...@arndb.de; Roy Pledge > <roy.ple...@nxp.com>; Alexandru

[PATCH v5 0/8] staging: fsl-mc: add dpio driver

2016-12-16 Thread Stuart Yoder
for 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

[PATCH v5 2/8] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-12-16 Thread Stuart Yoder
From: Ioana Radulescu <ruxandra.radule...@nxp.com> Add the command build/parse APIs for operating on DPIO objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com> Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-of

[PATCH v5 5/8] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-12-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add QBman APIs for frame queue and buffer pool operations. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v5

[PATCH v5 7/8] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-12-16 Thread Stuart Yoder
Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright -adjust file location to be in drivers/staging -whitespace alignment cleanup -v3

[PATCH v5 8/8] bus: fsl-mc: dpio: add maintainer for DPIO

2016-12-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -adjust file location to be in drivers/staging -v3 -

[PATCH v5 6/8] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-12-16 Thread Stuart Yoder
ations are received. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright -adjust file location to be in drivers/staging

[PATCH v5 3/8] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-12-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add global definitions for DPAA2 frame descriptors and scatter gather entries. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright -ad

[PATCH v5 4/8] bus: fsl-mc: dpio: add global dpaa2 definitions

2016-12-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Create header for global dpaa2 definitions. Add definitions for dequeue results. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -adjust file location to be

[PATCH v5 1/8] bus: fsl-mc: dpio: add DPIO driver overview document

2016-12-16 Thread Stuart Yoder
add document describing the dpio driver and it's role, components and major interfaces Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt | 135 1 file changed, 135 inse

RE: [PATCH v4 5/8] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-12-16 Thread Stuart Yoder
> -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Friday, December 16, 2016 1:57 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: kbuild-...@01.org; gre...@linuxfoundation.org; > de...@driverdev.osuosl.org; ag...@suse.de; >

[PATCH v4 4/8] bus: fsl-mc: dpio: add global dpaa2 definitions

2016-12-15 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Create header for global dpaa2 definitions. Add definitions for dequeue results. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -adjust file location to be

[PATCH v4 5/8] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-12-15 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add QBman APIs for frame queue and buffer pool operations. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4

[PATCH v4 6/8] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-12-15 Thread Stuart Yoder
ations are received. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright -adjust file location to be in drivers/staging

[PATCH v4 3/8] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-12-15 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add global definitions for DPAA2 frame descriptors and scatter gather entries. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright -ad

[PATCH v4 8/8] bus: fsl-mc: dpio: add maintainer for DPIO

2016-12-15 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -adjust file location to be in drivers/staging -v3 -

[PATCH v4 2/8] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-12-15 Thread Stuart Yoder
From: Ioana Radulescu <ruxandra.radule...@nxp.com> Add the command build/parse APIs for operating on DPIO objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com> Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-of

[PATCH v4 0/8] staging: fsl-mc: add dpio driver

2016-12-15 Thread Stuart Yoder
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

[PATCH v4 7/8] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-12-15 Thread Stuart Yoder
Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v4 -updated copyright -adjust file location to be in drivers/staging -whitespace alignment cleanup -v3

RE: [PATCH v3 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-12-15 Thread Stuart Yoder
> > +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 >=

RE: [PATCH v3 5/9] bus: fsl-mc: dpio: add global dpaa2 definitions

2016-12-15 Thread Stuart Yoder
> -Original Message- > From: Laurentiu Tudor > Sent: Friday, December 02, 2016 6:19 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de; > a...@arndb.de; Leo

RE: [PATCH v3 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-12-15 Thread Stuart Yoder
> -Original Message- > From: Laurentiu Tudor > Sent: Friday, December 02, 2016 6:12 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de; > a...@arndb.de; Leo

RE: [PATCH v3 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-12-15 Thread Stuart Yoder
> > +#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

RE: [PATCH v3 1/9] staging: fsl-mc: move bus driver out of staging

2016-12-09 Thread Stuart Yoder
> > > 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

RE: [PATCH v3 1/9] staging: fsl-mc: move bus driver out of staging

2016-12-08 Thread Stuart Yoder
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, December 08, 2016 10:05 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: de...@driverdev.osuosl.org; ag...@suse.de; a...@arndb.de; > linux-ker...@vger.kernel.org; Leo

[PATCH] staging: fsl-mc: remove unnecessary info prints from bus driver

2016-12-07 Thread Stuart Yoder
remove pr_info/dev_info prints that add unnecessary verbosity Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- 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

[PATCH] staging: fsl-mc: add sysfs ABI doc

2016-12-07 Thread Stuart Yoder
define the bind/unbind sysfs interfaces for the fsl-mc bus Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Documentation/ABI/testing/sysfs-bus-fsl-mc | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-fsl-mc diff

RE: [PATCH v3 1/9] staging: fsl-mc: move bus driver out of staging

2016-12-07 Thread Stuart Yoder
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Wednesday, December 07, 2016 9:53 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; ag...@suse.de; > a...@arndb.de; Leo

RE: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2016-12-06 Thread Stuart Yoder
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, December 06, 2016 11:56 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: Ruxandra Ioana Radulescu <ruxandra.radule...@nxp.com>; > de...@driverdev.osuosl.org; linux

RE: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2016-12-06 Thread Stuart Yoder
a...@arndb.de; Alexandru > Marginean <alexandru.margin...@nxp.com>; Bogdan Hamciuc > <bogdan.hamc...@nxp.com>; Stuart Yoder > <stuart.yo...@nxp.com>; Roy Pledge <roy.ple...@nxp.com>; Laurentiu Tudor > <laurentiu.tu...@nxp.com> > Subject: Re: [PATCH 7/8] sta

[PATCH v3 1/9] staging: fsl-mc: move bus driver out of staging

2016-12-01 Thread Stuart Yoder
and 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 <stuart.yo...@nxp.com> --- Notes: -v3 -no changes -v2 -updated MAINTAINERS with new lo

[PATCH v3 2/9] bus: fsl-mc: dpio: add DPIO driver overview document

2016-12-01 Thread Stuart Yoder
add document describing the dpio driver and it's role, components and major interfaces Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Documentation/dpaa2/dpio-driver.txt | 135 1 file changed, 135 insertions(+) create mode 100644 Documentation

[PATCH v3 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-12-01 Thread Stuart Yoder
From: Ioana Radulescu <ruxandra.radule...@nxp.com> Add the command build/parse APIs for operating on DPIO objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com> Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-of

[PATCH v3 6/9] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-12-01 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add QBman APIs for frame queue and buffer pool operations. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v3

[PATCH v3 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-12-01 Thread Stuart Yoder
ations are received. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v3 -zero memory allocated for a dpio store (bug fix suggested by Ioana Radule

[PATCH v3 9/9] bus: fsl-mc: dpio: add maintainer for DPIO

2016-12-01 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v3 -no changes -v2 -corrected location of maintainer entry MAINTAI

[PATCH v3 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-12-01 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add global definitions for DPAA2 frame descriptors and scatter gather entries. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v3 -no changes -v2 -a

[PATCH v3 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-12-01 Thread Stuart Yoder
Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Notes: -v3 -no changes -v2 -handle error case where number of DPIOs > NR_CPUs drivers/bus/fsl-mc/dpio/Makefile | 2 +- d

[PATCH v3 0/9] staging: fsl-mc: move bus driver out of staging, add dpio

2016-12-01 Thread Stuart Yoder
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 |

[PATCH v3 5/9] bus: fsl-mc: dpio: add global dpaa2 definitions

2016-12-01 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Create header for global dpaa2 definitions. Add definitions for dequeue results. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- include/linux/fsl/dp

RE: [PATCH 6/9] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-11-29 Thread Stuart Yoder
> -Original Message- > From: Ruxandra Ioana Radulescu > Sent: Monday, November 28, 2016 12:10 PM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; > linux-ker...@vg

[PATCH v2 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-11-16 Thread Stuart Yoder
Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com> Cc: Ioana Radulescu <ruxandra.radule...@nxp.com> --- -v2 -handle error case where number of DPIOs

[PATCH v2 2/9] bus: fsl-mc: dpio: add DPIO driver overview document

2016-11-16 Thread Stuart Yoder
add document describing the dpio driver and it's role, components and major interfaces Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com> Cc: Roy Pledge <roy.ple...@nxp.com> Cc: Ioana Radulescu <ruxandra.radule...@nxp.com&g

[PATCH v2 1/9] staging: fsl-mc: move bus driver out of staging

2016-11-16 Thread Stuart Yoder
and 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 <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com> --- -v2 -updated MAIN

[PATCH v2 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-11-16 Thread Stuart Yoder
ations are received. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com> Cc: Ioana Radulescu <ruxandra.radule...@nxp.com> -

[PATCH v2 9/9] bus: fsl-mc: dpio: add maintainer for DPIO

2016-11-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com> Cc: Ioana Radulescu <ruxandra.radule...@nxp

[PATCH v2 5/9] bus: fsl-mc: dpio: add global dpaa2 definitions

2016-11-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Create header for global dpaa2 definitions. Add definitions for dequeue results. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com

[PATCH v2 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-11-16 Thread Stuart Yoder
From: Ioana Radulescu <ruxandra.radule...@nxp.com> Add the command build/parse APIs for operating on DPIO objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com> Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-of

[PATCH v2 0/9] staging: fsl-mc: move bus driver out of staging, add dpio

2016-11-16 Thread Stuart Yoder
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 (2): staging: fsl-mc: move bus driver out of staging bus: fsl-mc: dpio: add DPIO driver overview document

[PATCH v2 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-11-16 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add global definitions for DPAA2 frame descriptors and scatter gather entries. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com

RE: [PATCH 1/2] Staging: fsl-mc: include: mc: Kernel type 's16' preferred over 'int16_t'

2016-11-14 Thread Stuart Yoder
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Monday, November 14, 2016 4:06 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: Shiva Kerdel <sh...@exdev.nl>; de...@driverdev.osuosl.org; > gre...@linuxfoundation.org; l

RE: [PATCH 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-11-11 Thread Stuart Yoder
> > +/** > > + * dpaa2_io_service_rearm() - Rearm the notification for the given DPIO > > service. > > + * @service: the given DPIO service. > > + * @ctx: the notification context. > > + * > > + * Once a FQDAN/CDAN has been produced, the corresponding FQ/channel > > is > > + * considered

RE: [PATCH 1/2] Staging: fsl-mc: include: mc: Kernel type 's16' preferred over 'int16_t'

2016-11-11 Thread Stuart Yoder
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Friday, November 11, 2016 5:23 AM > To: Shiva Kerdel <sh...@exdev.nl> > Cc: Stuart Yoder <stuart.yo...@nxp.com>; de...@driverdev.osuosl.org; > german.riv...@freescale.com

RE: [PATCH 6/9] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-11-10 Thread Stuart Yoder
> -Original Message- > From: Ruxandra Ioana Radulescu > Sent: Thursday, November 10, 2016 9:04 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; > linu

RE: [PATCH 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-11-09 Thread Stuart Yoder
> -Original Message- > From: Ruxandra Ioana Radulescu > Sent: Friday, November 04, 2016 10:11 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; > linux-ker...@vg

RE: [PATCH v2 2/2] Staging: fsl-mc: include: mc: Kernel type 's32' preferred over 'int32_t'

2016-11-08 Thread Stuart Yoder
> -Original Message- > From: Shiva Kerdel [mailto:sh...@exdev.nl] > Sent: Tuesday, November 08, 2016 9:42 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: gre...@linuxfoundation.org; german.riv...@freescale.com; German Rivera > <german.riv...@nxp.com>

RE: [PATCH v2 1/2] Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t'

2016-11-08 Thread Stuart Yoder
> -Original Message- > From: Shiva Kerdel [mailto:sh...@exdev.nl] > Sent: Tuesday, November 08, 2016 9:42 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: gre...@linuxfoundation.org; german.riv...@freescale.com; German Rivera > <german.riv...@nxp.com>

RE: [PATCH 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t'

2016-11-07 Thread Stuart Yoder
> -Original Message- > From: Shiva Kerdel [mailto:sh...@exdev.nl] > Sent: Monday, November 07, 2016 6:01 AM > To: german.riv...@freescale.com > Cc: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org; German > Rivera > <german.riv...@nxp

RE: [PATCH 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-11-07 Thread Stuart Yoder
> -Original Message- > From: Ruxandra Ioana Radulescu > Sent: Friday, November 04, 2016 10:04 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; > linux-ker...@vg

RE: [PATCH 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-11-04 Thread Stuart Yoder
> +/** > > + * dpaa2_fd_set_bpid() - Set the bpid field of frame descriptor > > + * @fd: the given frame descriptor > > + * @bpid: buffer pool id to be set > > + */ > > +static inline void dpaa2_fd_set_bpid(struct dpaa2_fd *fd, uint16_t bpid) > > +{ > > + fd->simple.bpid = bpid; > > +} > > The

RE: [PATCH 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-11-04 Thread Stuart Yoder
> -Original Message- > From: Ruxandra Ioana Radulescu > Sent: Wednesday, November 02, 2016 9:50 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; > linu

[PATCH v2 08/12] staging: fsl-mc: improve message clarity by adding __func__

2016-10-26 Thread Stuart Yoder
clarify some error messages by printing the actual function name involved Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -patch is result of split of original patch, updated commit messasge to reflect the change drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 7 ++-

[PATCH v2 10/12] staging: fsl-mc: improve wording in comments

2016-10-26 Thread Stuart Yoder
improve and clarify miscellaneous comments in the bus driver and allocator Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -update/improve commit message drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 68 +-- drivers/staging/fsl-mc/bus/fsl-mc

[PATCH v2 12/12] staging: fsl-mc: uprev binary interface to match MC v10.x

2016-10-26 Thread Stuart Yoder
ner_id() This supports a hardware ABI change and thus to match the new ABI all the above changes need to happen in a single patch. All MC firmware versions >= 10 will be supported going forward. Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo..

[PATCH v2 09/12] staging: fsl-mc: cleanup: improve clarity of messages

2016-10-26 Thread Stuart Yoder
improve some messages by shortening and rewording Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -patch is result of split of original patch, updated commit messasge to reflect the change drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 4 ++-- drivers/staging/fsl-mc/b

[PATCH v2 11/12] staging: fsl-mc: update copyright dates

2016-10-26 Thread Stuart Yoder
Many source files have evolved without copyright date updates. Update the dates to reflect work through 2016. Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -no changes drivers/staging/fsl-mc/bus/dpcon-cmd.h | 2 +- drivers/staging/fsl-mc/bus/d

[PATCH v2 06/12] staging: fsl-mc: cleanup comment style

2016-10-26 Thread Stuart Yoder
Be consistent and use kernel-preferred multi-line comment style everywhere. Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -no changes drivers/staging/fsl-mc/bus/dpbp-cmd.h | 3 ++- drivers/staging/fsl-mc/bus/dpbp.c | 3 ++- drivers/staging/fsl-mc/bus/dpcon-cmd.h

[PATCH v2 03/12] staging: fsl-mc: whitespace cleanup: remove extraenous tabs

2016-10-26 Thread Stuart Yoder
use one tab to separate name and value in #define definitions Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -patch is result of split of original patch, updated commit messasge and author to reflect the change drivers/staging/fsl-mc/include/dprc.h | 10 +-

[PATCH v2 07/12] staging: fsl-mc: improve pr_* messages

2016-10-26 Thread Stuart Yoder
define pr_fmt so non dev_* messages will have an fsl-mc prefix and remove "fsl-mc" from messages where it would now be redundant Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -patch is result of split of original patch, updated commit messasge to reflect the

[PATCH v2 05/12] staging: fsl-mc: whitespace cleanup: improve alignment in prototypes

2016-10-26 Thread Stuart Yoder
From: Ioana Ciornei <ioana.cior...@nxp.com> To improve readability for structs and function definitions, separate type and variable name by a single space, instead of an inconsistent number of tabs. Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com> Signed-off-by: Stuart Yode

[PATCH v2 04/12] staging: fsl-mc: whitespace cleanup: align function args

2016-10-26 Thread Stuart Yoder
From: Ioana Ciornei <ioana.cior...@nxp.com> align function arguments that were not aligned to the starting parenthesis Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -patch is result of split of origi

[PATCH v2 02/12] staging: fsl-mc: whitespace cleanup: remove blank lines

2016-10-26 Thread Stuart Yoder
remove instances of multiple blank lines in comments Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- -v2 -patch is result of split of original patch, updated commit messasge and author to reflect the change drivers/staging/fsl-mc/bus/dpbp-cmd.h | 1 - drivers/staging/fsl-

[PATCH v2 00/12] staging: fsl-mc: cleanup and uprev to MC v10.x

2016-10-26 Thread Stuart Yoder
prefix -some commit message updates Ioana Ciornei (3): staging: fsl-mc: whitespace cleanup: align function args staging: fsl-mc: whitespace cleanup: improve alignment in prototypes staging: fsl-mc: uprev binary interface to match MC v10.x Stuart Yoder (9): staging: fsl-mc: update

[PATCH v2 01/12] staging: fsl-mc: update MAINTAINERS

2016-10-26 Thread Stuart Yoder
-German has moved on to other things and wished to be removed as a maintainer -cleanup the driver description to use the proper name of the driver (i.e. the fsl-mc bus driver) and remove incorrect references to Freescale Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Acked-by: J.

RE: [PATCH 0/9] staging: fsl-mc: move bus driver out of staging, add dpio

2016-10-25 Thread Stuart Yoder
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, October 24, 2016 9:34 AM > To: Stuart Yoder <stuart.yo...@nxp.com>; gre...@linuxfoundation.org > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; >

RE: [PATCH 00/14] staging: fsl-mc: cleanup and uprev to MC v10.x

2016-10-25 Thread Stuart Yoder
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, October 25, 2016 2:50 AM > To: Stuart Yoder <stuart.yo...@nxp.com> > Cc: German Rivera <german.riv...@nxp.com>; de...@driverdev.osuosl.org; > linux-ker...@vg

[PATCH 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-10-21 Thread Stuart Yoder
From: Ioana Radulescu <ruxandra.radule...@nxp.com> Add the command build/parse APIs for operating on DPIO objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com> Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-of

[PATCH 0/9] staging: fsl-mc: move bus driver out of staging, add dpio

2016-10-21 Thread Stuart Yoder
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 (2): staging: fsl-mc: move bus driver out of staging bus: fsl-mc: dpio: add DPIO driver overview document Documentation/dpaa2/dpio-driver.txt

[PATCH 6/9] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-10-21 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add QBman APIs for frame queue and buffer pool operations. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- drivers/bus/fsl-mc/dp

[PATCH 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-10-21 Thread Stuart Yoder
ations are received. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- drivers/bus/fsl-mc/dpio/Makefile | 2 +- drivers/bus/fsl-mc/d

[PATCH 2/9] bus: fsl-mc: dpio: add DPIO driver overview document

2016-10-21 Thread Stuart Yoder
add document describing the dpio driver and it's role, components and major interfaces Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- Documentation/dpaa2/dpio-driver.txt | 135 1 file changed, 135 insertions(+) create mode 100644 Documentation

[PATCH 9/9] bus: fsl-mc: dpio: add maintainer for DPIO

2016-10-21 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS inde

[PATCH 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-10-21 Thread Stuart Yoder
Pledge <roy.ple...@nxp.com> Signed-off-by: Haiying Wang <haiying.w...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- drivers/bus/fsl-mc/dpio/Makefile | 2 +- drivers/bus/fsl-mc/dpio/dpio-driver.c | 289 ++ 2 files changed, 290 i

[PATCH 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-10-21 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Add global definitions for DPAA2 frame descriptors and scatter gather entries. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- include/linux/fs

[PATCH 1/9] staging: fsl-mc: move bus driver out of staging

2016-10-21 Thread Stuart Yoder
and overview of DPAA goes to Documentation/dpaa2/overview.txt Delete other remaining staging files-- Makefile, Kconfig, TODO cc: Thomas Gleixner <t...@linutronix.de> cc: Jason Cooper <ja...@lakedaemon.net> cc: Marc Zyngier <marc.zyng...@arm.com> Signed-off-by: Stuart Yoder <

[PATCH 5/9] bus: fsl-mc: dpio: add global dpaa2 definitions

2016-10-21 Thread Stuart Yoder
From: Roy Pledge <roy.ple...@nxp.com> Create header for global dpaa2 definitions. Add definitions for dequeue results. Signed-off-by: Roy Pledge <roy.ple...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- include/linux/fsl/dp

[PATCH 05/14] staging: fsl-mc: update MAINTAINERS

2016-10-17 Thread Stuart Yoder
-German has moved on to other things and wished to be removed as a maintainer -cleanup the driver description to use the proper name of the driver (i.e. the fsl-mc bus driver) and remove incorrect references to Freescale Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> Acked-by: J.

[PATCH 14/14] staging: fsl-mc: uprev binary interface to match MC v10.x

2016-10-17 Thread Stuart Yoder
) All MC firmware versions >= 10 will be supported going forward. Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com> Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- drivers/staging/fsl-mc/bus/dpbp-cmd.h| 57 +++- drivers/staging/fsl-mc/b

[PATCH 13/14] staging: fsl-mc: update copyright dates

2016-10-17 Thread Stuart Yoder
Many source files have evolved without copyright date updates. Update the dates to reflect work through 2016. Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com> --- drivers/staging/fsl-mc/bus/dpcon-cmd.h | 2 +- drivers/staging/fsl-mc/bus/dpmcp.h

  1   2   >