> --- 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
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
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
>
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
> -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
> -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
.
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
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
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
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
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
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
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
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
// 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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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-
-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
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
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
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
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
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
>= 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 |
-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
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
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
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
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
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
>
> 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
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
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
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
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
.
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
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
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
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 |
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 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
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
> > > 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
> -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
> -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
> +/**
> > + * 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
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
-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
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
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
> -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
> -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-
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-kernel@vger.kernel.org; Yang-Leo Li
> S
> -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;
> -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;
> -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
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
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:
>
> -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
@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
> -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;
>
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
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
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: 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
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-
-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
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
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: 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
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
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
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
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
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
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: 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
> -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
> -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...
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
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
401 - 500 of 532 matches
Mail list logo