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 3/9] staging: fsl-mc: add device release callback

2017-02-02 Thread Stuart Yoder
iverdev.osuosl.org; a...@arndb.de; Ruxandra Ioana Radulescu > ; > Roy Pledge ; linux-kernel@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

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

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

[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 --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c2395ea..6050912 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

RE: [PATCH -next] staging: fsl-mc: use list_del_init instead of list_del/INIT_LIST_HEAD

2016-09-15 Thread Stuart Yoder
> -Original Message- > From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Wednesday, September 14, 2016 9:27 PM > To: J . German Rivera ; Stuart Yoder > ; Greg Kroah- > Hartman ; German Rivera ; > Itai Katz > > Cc: Wei Yongjun ; linux-ke

RE: [PATCH -next] staging: fsl-mc: remove .owner field for driver

2016-09-15 Thread Stuart Yoder
> -Original Message- > From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Wednesday, September 14, 2016 9:27 PM > To: J . German Rivera ; Stuart Yoder > ; Greg Kroah- > Hartman ; German Rivera ; > Itai Katz > > Cc: Wei Yongjun ; linux-ke

[PATCH 05/14] staging: fsl-mc: create private include for fsl-mc bus components

2016-08-23 Thread Stuart Yoder
. 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

[PATCH 00/14] staging: fsl-mc: restructuring and cleanup

2016-08-23 Thread Stuart Yoder
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

[PATCH 10/14] staging: fsl-mc: move bus definitions from mc.h to mc-bus.h

2016-08-23 Thread Stuart Yoder
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

[PATCH 06/14] staging: fsl-mc: move dprc-driver private definitions out of mc-bus.h

2016-08-23 Thread Stuart Yoder
Move definitions that are private to dprc-driver.c out of the public mc-bus.h header. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dprc-driver.c | 6 ++ drivers/staging/fsl-mc/include/mc-bus.h | 6 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH 11/14] staging: fsl-mc: remove unneeded includes

2016-08-23 Thread Stuart Yoder
Over time we've accumulated some includes that are no longer needed. Remove them. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-msi.c| 2 -- drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 2 -- drivers/staging/fsl-mc/include/mc-bus.h

[PATCH 09/14] staging: fsl-mc: remove unneeded forward declarations

2016-08-23 Thread Stuart Yoder
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

[PATCH 13/14] staging: fsl-mc: explicitly include files where they are needed

2016-08-23 Thread Stuart Yoder
Instead of relying on mc-sys.h to include misc system headers, have the source files that need them explicitly do it themselves. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 1 + drivers/staging/fsl-mc/bus/mc-io.c | 2 ++ drivers/staging/fsl-mc/bus/mc-sys.c

[PATCH 12/14] staging: fsl-mc: split mc-io definitions into a separate file

2016-08-23 Thread Stuart Yoder
An mc-io is a software abstraction of a dpmcp object (an MC portal). Routines to create/initialize/reset this portal abstraction were split between the allocator and mc-sys.c (MC command interface). Move mc-io/portal related definitions into one source file. Signed-off-by: Stuart Yoder

[PATCH 14/14] staging: fsl-mc: make order of includes consistent

2016-08-23 Thread Stuart Yoder
// public bus driver includes (eventually // destined for: linux/include/fsl) [blank line] #include "[file].h" // private bus driver includes Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dpmcp.c | 1

[PATCH 01/14] staging: fsl-mc: rename mc-private.h to mc-bus.h

2016-08-23 Thread Stuart Yoder
The definitions in mc-private.h are not strictly speaking 'private', they are bus-related definitions expected to be referenced by bus driver components as well as system components (gic, smmu, vfio). Rename mc-private.h to mc-bus.h to more accurately reflect expected use. Signed-off-by: Stuart

[PATCH 03/14] staging: fsl-mc: move allocator private definitions out of mc-bus.h

2016-08-23 Thread Stuart Yoder
move definitions private to the allocator out of mc-bus.h and into allocator.c Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 5 + drivers/staging/fsl-mc/include/mc-bus.h | 5 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 08/14] staging: fsl-mc: make fsl_mc_get_root_dprc public

2016-08-23 Thread Stuart Yoder
fsl_mc_get_root_dprc is needed by other components (e.g. vfio) to find the root dprc Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 5 +++-- drivers/staging/fsl-mc/include/mc.h | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/staging

[PATCH 07/14] staging: fsl-mc: move bus private definitions into fsl-mc-bus.c

2016-08-23 Thread Stuart Yoder
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

[PATCH 04/14] staging: fsl-mc: move resource pool init/cleanup into allocator

2016-08-23 Thread Stuart Yoder
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

[PATCH 02/14] staging: fsl-mc: improve naming of source files

2016-08-23 Thread Stuart Yoder
he "MC" hardware per se. Improve clarity by using the prefix string "fsl-mc" instead which is what we are calling this bus. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/Makefile | 6 +++--- drivers/staging/fsl-mc/bus/{mc-allocat

[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 cc: Jason Cooper cc: Marc Zyngier Signed-off-by: Stuart Yoder --- .../README.txt => Documentation/dpaa2/overview.txt | 0 drivers/bus/Kcon

[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 9/9] bus: fsl-mc: dpio: add maintainer for DPIO

2016-10-21 Thread Stuart Yoder
From: Roy Pledge add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge Signed-off-by: Stuart Yoder --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 797a08a..1aa991e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5097,6

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

2016-10-21 Thread Stuart Yoder
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 --- drivers/bus/fsl-mc/dpio/Makefile |2 +- drivers/bus/fsl-mc/dpio/qbman-portal.c | 1009

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

2016-10-21 Thread Stuart Yoder
. Signed-off-by: Roy Pledge Signed-off-by: Haiying Wang Signed-off-by: Stuart Yoder --- drivers/bus/fsl-mc/dpio/Makefile | 2 +- drivers/bus/fsl-mc/dpio/dpio-service.c | 614 + include/linux/fsl/dpaa2-io.h | 138 3 files changed, 753

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

2016-10-21 Thread Stuart Yoder
From: Roy Pledge Add global definitions for DPAA2 frame descriptors and scatter gather entries. Signed-off-by: Roy Pledge Signed-off-by: Stuart Yoder --- include/linux/fsl/dpaa2-fd.h | 415 +++ 1 file changed, 415 insertions(+) create mode 100644

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

2016-10-21 Thread Stuart Yoder
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 --- drivers/bus/fsl-mc/Kconfig | 10 ++ drivers/bus/fsl-mc/Makefile

[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 --- Documentation/dpaa2/dpio-driver.txt | 135 1 file changed, 135 insertions(+) create mode 100644 Documentation/dpaa2/dpio-driver.txt diff

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

2016-10-21 Thread Stuart Yoder
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

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

2016-10-21 Thread Stuart Yoder
Wang Signed-off-by: Stuart Yoder --- drivers/bus/fsl-mc/dpio/Makefile | 2 +- drivers/bus/fsl-mc/dpio/dpio-driver.c | 289 ++ 2 files changed, 290 insertions(+), 1 deletion(-) create mode 100644 drivers/bus/fsl-mc/dpio/dpio-driver.c diff --git a/drivers/bus

[PATCH 07/14] staging: fsl-mc: dprc: shorten DPRC interrupt name

2016-10-17 Thread Stuart Yoder
improve readibility of the DPRC interrupt name in sysfs by shortening this and just using the device name. There is only one interrupt DPRC used, so no further differentiation is needed. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +- 1 file changed, 1

[PATCH 12/14] staging: fsl-mc: improve comment wording

2016-10-17 Thread Stuart Yoder
improve and clarify miscellaneous comments -when referring to the bus call it "fsl-mc" -reduce the verbosity of some comments for clarity -improve wording of the slightly confusing term "MC object device" Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl

[PATCH 06/14] staging: fsl-mc: irq: shorten name of interrupt name

2016-10-17 Thread Stuart Yoder
For /proc/interrupts readability, platform bus MSIs are named "ITS-pMSI" in the GIC ITS implementation for that bus. Follow a similar naming convention and call fsl-mc bus MSIs "ITS-fMSI". Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-

[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 Acked-by: J. German Rivera --- MAINTAINERS

[PATCH 10/14] staging: fsl-mc: cleanup comment style

2016-10-17 Thread Stuart Yoder
Be consistent and use kernel-preferred multi-line comment style everywhere. Signed-off-by: Stuart Yoder --- 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 | 3 ++- drivers/staging/fsl-mc/bus/dpmcp

[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 --- drivers/staging/fsl-mc/bus/dpcon-cmd.h | 2 +- drivers/staging/fsl-mc/bus/dpmcp.h | 2 +- drivers/staging/fsl-mc/bus

[PATCH 03/14] staging: fsl-mc: clean up Kconfig description

2016-10-17 Thread Stuart Yoder
Except for copyrights we are avoiding all references to Freescale, which no longer exists as a brand. Cleanup Freescale references and simplify the Kconfig description of the fsl-mc bus. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/Kconfig | 22 +++--- 1 file

[PATCH 02/14] staging: fsl-mc: add missing includes to fsl-mc-private.h

2016-10-17 Thread Stuart Yoder
fsl-mc-private.h references several definitions that it does not explicitly have includes for. Up until now we've gotten lucky due to include ordering that things compile. Add the missing includes. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-private.h | 3 +++ 1 file

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

2016-10-17 Thread Stuart Yoder
n. I plan to do that in conjunction with a request to move the fsl-mc bus driver out of staging. Ioana Ciornei (3): staging: fsl-mc: cleanup: convert uintX_t types to uX staging: fsl-mc: misc whitespace cleanup staging: fsl-mc: uprev binary interface to match MC v10.x Stuart Yoder (11): st

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

2016-10-17 Thread Stuart Yoder
>= 10 will be supported going forward. Signed-off-by: Ioana Ciornei Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dpbp-cmd.h| 57 +++- drivers/staging/fsl-mc/bus/dpbp.c| 67 ++-- drivers/staging/fsl-mc/bus/dpmcp-cmd.h |

[PATCH 09/14] staging: fsl-mc: misc whitespace cleanup

2016-10-17 Thread Stuart Yoder
-off-by: Ioana Ciornei Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dpbp-cmd.h | 1 - drivers/staging/fsl-mc/bus/dpbp.c | 1 - drivers/staging/fsl-mc/bus/dpcon-cmd.h | 1 - drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 1 - drivers/staging/fsl-mc/bus/dpmcp.c | 1

[PATCH 04/14] staging: fsl-mc: update Kconfig dependency

2016-10-17 Thread Stuart Yoder
The Kconfig dependency previously included ARM64, which is not strictly correct. Change it to ARCH_LAYERSCAPE which is the SoC platform that includes the DPAA2 hardware. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 01/14] staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers

2016-10-17 Thread Stuart Yoder
The dpbp and dpcon cmd header files should not be in the public include directory but should be private to the bus driver. Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/{include => bus}/dpbp-cmd.h | 0 drivers/staging/fsl-mc/bus/dpbp.c | 3 ++- drivers/staging/fsl

[PATCH 08/14] staging: fsl-mc: cleanup: convert uintX_t types to uX

2016-10-17 Thread Stuart Yoder
From: Ioana Ciornei Replace all uses of uintX_t types with uX types in order to comply with kernel coding style and resolve checkpatch warnings. Signed-off-by: Ioana Ciornei Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dpmcp.h | 84 +++--- 1 file

[PATCH 11/14] staging: fsl-mc: message cleanup

2016-10-17 Thread Stuart Yoder
Cleanup and clarify messages -use "fsl-mc" prefix for all messages that don't come from dev_* functions -remove unnecessary verbosity to make things clearer -use explicit __func__ arguments to clarify some error messages -improve misc wording for clarity Signed-off-by: St

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 field with BPID are not

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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 --- Documentation/dpaa2/dpio-driver.txt | 135 1 file changed, 135 insertions(+) create mode 100644 Documentation/dpaa2/dpio-driver.txt diff

[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 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

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

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

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

[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 --- Notes: -v3 -no changes -v2 -updated MAINTAINERS with new location .../README.txt

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 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 ; gre...@linuxfoundation.org > Cc: German Rivera ; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org; > ag...@suse.de; a...@arndb.de

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 ; gre...@linuxfoundation.org > Cc: German Rivera ; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org; > ag...@suse.de; a...@arndb.de

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] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-27 Thread Stuart Yoder
I think that comment "Currently supported enable-method is psci v0.2" is a statement of intent, not what is available currently. And the only plan I am aware of is PSCI with UEFI based firmware. U-boot is a key firmware platform for us and has no PSCI implementation available. So, we need

[PATCH 0/2 v3] fsl-mc binding and device tree updates

2016-04-19 Thread Stuart Yoder
-added ack to binding patch -updated whitespace and comment in dts patch Stuart Yoder (2): Documentation: fsl-mc: binding updates for MSIs, ranges, PHYs arm64: dts: ls2080a: fsl-mc dt node updates .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 81 +- arch/arm64/boot

[PATCH 1/2 v3] Documentation: fsl-mc: binding updates for MSIs, ranges, PHYs

2016-04-19 Thread Stuart Yoder
From: Stuart Yoder -The Freescale Management Complex and all associated objects use message interrupts, and thus an msi-parent is required. -Define a ranges property to specify the mapping between the MC address space and the system address space. -The fsl-mc node may optionally have dpmac

[PATCH 2/2 v3] arm64: dts: ls2080a: fsl-mc dt node updates

2016-04-19 Thread Stuart Yoder
updates to the fsl-mc node for full functionality: -msi-parent is needed for interrupt support -ranges is needed to enable the bus driver to translate bus addresses -dpmac nodes provide a basis for relating dpmac objects to PHYs Signed-off-by: Stuart Yoder --- -v3 -updated unit

RE: [PATCH 2/2 v2] arm64: dts: ls2080a: fsl-mc dt node updates

2016-04-19 Thread Stuart Yoder
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Sunday, April 17, 2016 9:56 PM > To: Stuart Yoder > Cc: devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > german.riv...@freescale.com; > linux-kernel@vger.kernel.org; rob

RE: [PATCH 11/14] staging: fsl-mc: add quirk handling for dpseci objects < 4.0

2016-04-20 Thread Stuart Yoder
> -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-kernel@vger.kernel.org; > ag...@suse.de; a...@arndb.de; Yang-

[PATCH 14/14 RESEND] MAINTAINERS: fsl-mc: Add second maintainer

2016-05-02 Thread 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 @@ F:sound

RE: [PATCH 00/14] staging: fsl-mc: misc updates

2016-05-02 Thread Stuart Yoder
> -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-kernel@vger.kernel.org; Yang-Leo Li > S

RE: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-26 Thread Stuart Yoder
> -Original Message- > From: Lijun Pan [mailto:lijun@freescale.com] > Sent: Sunday, October 25, 2015 5:41 PM > To: gre...@linuxfoundation.org; a...@arndb.de; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org > Cc: Yoder Stuart-B08248; katz Itai-RM05202; Rivera Jose-B46482;

RE: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-26 Thread Stuart Yoder
> -Original Message- > From: Lijun Pan [mailto:lijun@freescale.com] > Sent: Sunday, October 25, 2015 5:41 PM > To: gre...@linuxfoundation.org; a...@arndb.de; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org > Cc: Yoder Stuart-B08248; katz Itai-RM05202; Rivera Jose-B46482;

RE: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-27 Thread Stuart Yoder
> -Original Message- > From: J. German Rivera [mailto:german.riv...@freescale.com] > Sent: Friday, October 23, 2015 8:31 PM > To: robh...@kernel.org; mark.rutl...@arm.com; devicet...@vger.kernel.org; > linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Cc: Sharma

[PATCH] of/irq: fix bug in computing output requester-id for an msi-map

2016-02-08 Thread Stuart Yoder
From: Stuart Yoder The binding for msi-map specifies that the output requester id should be computed as: (r - rid-base + msi-base) ...update the code accordingly. Signed-off-by: Stuart Yoder --- drivers/of/irq.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

RE: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Stuart Yoder
avid.da...@cavium.com; Stuart Yoder > ; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > sta...@vger.kernel.org > Subject: Re: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base > > Hi Robin, > > On 09/02/16 11:04, Robin Murphy wrote: >

RE: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Stuart Yoder
> -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Tuesday, February 09, 2016 10:08 AM > To: Stuart Yoder > Cc: Marc Zyngier ; Robin Murphy ; > robh...@kernel.org; frowand.l...@gmail.com; grant.lik...@linaro.org; > devicet...@vger

RE: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Stuart Yoder
@arm.com; david.da...@cavium.com; > Stuart Yoder > ; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org > Subject: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base > > The existing msi-map code is fine for shifting the entire RID s

RE: [PATCH v3 7/8] staging: fsl-mc: update TODO and README for restool driver

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

[PATCH 04/14] staging: fsl-mc: update dpbp binary interface to v2.2

2016-04-11 Thread Stuart Yoder
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

[PATCH 02/14] staging: fsl-mc: DPAA2 overview readme update

2016-04-11 Thread Stuart Yoder
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

[PATCH 05/14] staging: fsl-mc: update dprc binary interface to v5.1

2016-04-11 Thread Stuart Yoder
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

[PATCH 13/14] staging: fsl-mc: return -EINVAL for all fsl_mc_portal_allocate() failures

2016-04-11 Thread Stuart Yoder
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

[PATCH 11/14] staging: fsl-mc: add quirk handling for dpseci objects < 4.0

2016-04-11 Thread Stuart Yoder
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-

[PATCH 06/14] staging: fsl-mc: don't use object versions to make binding decisions

2016-04-11 Thread Stuart Yoder
-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 insertions

[PATCH 08/14] staging: fsl-mc: set cacheable flag for added devices if applicable

2016-04-11 Thread Stuart Yoder
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-mc/bus

[PATCH 09/14] staging: fsl-mc: get version of root dprc from MC hardware

2016-04-11 Thread Stuart Yoder
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

[PATCH 13/14] staging: fsl-mc: return -EINVAL for all fsl_mc_portal_allocate() failures

2016-04-11 Thread Stuart Yoder
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

[PATCH 07/14] staging: fsl-mc: set up coherent dma ops for added devices

2016-04-11 Thread Stuart Yoder
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

[PATCH 01/14] staging: fsl-mc: TODO updates

2016-04-11 Thread Stuart Yoder
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

[PATCH 00/14] staging: fsl-mc: misc updates

2016-04-11 Thread Stuart Yoder
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

[PATCH 14/14] MAINTAINERS: fsl-mc: Add second maintainer

2016-04-11 Thread Stuart Yoder
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

[PATCH 10/14] staging: fsl-mc: add dprc version check

2016-04-11 Thread Stuart Yoder
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

[PATCH 12/14] staging: fsl-mc: add dpmcp version check

2016-04-11 Thread Stuart Yoder
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

[PATCH 03/14] staging: fsl-mc: update dpmcp binary interface to v3.0

2016-04-11 Thread Stuart Yoder
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

RE: [PATCH 13/14] staging: fsl-mc: return -EINVAL for all fsl_mc_portal_allocate() failures

2016-04-11 Thread Stuart Yoder
> -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.osu

RE: [PATCH] staging: fsl-mc: bus: Drop warning

2016-04-14 Thread Stuart Yoder
> -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...

[PATCH 2/2] arm64: dts: ls2080a: fsl-mc dt node updates

2016-04-01 Thread Stuart Yoder
From: Stuart Yoder updates to the fsl-mc node for full functionality: -msi-parent is needed for interrupt support -ranges is needed to enable the bus driver to translate bus addresses -dpmac nodes provide a basis for relating dpmac objects to PHYs Signed-off-by: Stuart Yoder --- arch

[PATCH 0/2] fsl-mc binding and device tree updates

2016-04-01 Thread Stuart Yoder
From: Stuart Yoder This patch series adds a few missing things from the binding for the fsl-mc node on the ls2080a Soc-- msi-parent, ranges, dpmac definition. The ls2080a device tree is updated to reflect the binding updates. Stuart Yoder (2): Documentation: fsl-mc: binding updates for MSIs

<    1   2   3   4   5   6   >