From: Stuart Yoder stuart.yo...@freescale.com
For 32-bit, CONFIG_EPAPR_PARAVIRT pulls in both epapr_paravirt.c
and epapr_hcalls.c which contains the 32-bit paravirt idle loop.
For 64-bit, the paravirt idle loop is in idle_book3e.S and that
source file is included only if CONFIG_PPC_BOOK3E_64
On Mon, Feb 4, 2013 at 7:18 AM, Joerg Roedel j...@8bytes.org wrote:
Add the iommu_domain_window_enable() and iommu_domain_window_disable()
functions to the IOMMU-API. These functions will be used to setup
domains that are based on subwindows and not on paging.
Signed-off-by: Joerg Roedel
On Mon, Feb 4, 2013 at 12:56 PM, Joerg Roedel j...@8bytes.org wrote:
On Mon, Feb 04, 2013 at 12:10:51PM -0600, Stuart Yoder wrote:
On Mon, Feb 4, 2013 at 7:18 AM, Joerg Roedel j...@8bytes.org wrote:
+static inline int iommu_domain_window_enable(struct iommu_domain *domain
Have not got through the entire file, but have a few comments...
+/*
+ * Set the PAACE type as primary and set the coherency required domain
+ * attribute
+ */
+static void pamu_setup_default_xfer_to_host_ppaace(struct paace *ppaace)
+{
+ set_bf(ppaace-addr_bitfields, PAACE_AF_PT,
Some more comments...
On Mon, Feb 18, 2013 at 6:52 AM, Varun Sethi varun.se...@freescale.com wrote:
+/* Handling access violations */
+#define make64(high, low) (((u64)(high) 32) | (low))
+
+struct pamu_isr_data {
+ void __iomem *pamu_reg_base;/* Base address of PAMU regs*/
+
On Mon, Feb 18, 2013 at 6:52 AM, Varun Sethi varun.se...@freescale.com wrote:
[cut]
+static phys_addr_t get_phys_addr(struct fsl_dma_domain *dma_domain, unsigned
long iova)
+{
+ u32 win_cnt = dma_domain-win_cnt;
+ struct dma_window *win_ptr =
+
This patch was submitted separately to linuxppc-dev (and was already
applied). You don't need it in this patch set, right?
Stuart
On Mon, Feb 18, 2013 at 6:52 AM, Varun Sethi varun.se...@freescale.com wrote:
The pci controller structure has a provision to store the device strcuture
pointer of
flag to allow binding via sysfs
only
http://www.spinics.net/lists/kvm/msg97198.html
[PATCH 2/4] driver core: platform: allow platform drivers to bind to any device
http://www.spinics.net/lists/kvm/msg97195.html
If you have any issues, we would like to get them addressed.
Thanks,
Stuart Yoder
-Original Message-
From: Will Deacon [mailto:will.dea...@arm.com]
Sent: Monday, June 16, 2014 10:28 AM
To: Sethi Varun-B16395
Cc: Thierry Reding; Mark Rutland; devicet...@vger.kernel.org; linux-
samsung-...@vger.kernel.org; Pawel Moll; Arnd Bergmann; Ian Campbell;
Grant Grundler;
Stuart,
On Mon, Jun 16, 2014 at 05:56:32PM +0100, Stuart Yoder wrote:
Do you have use-cases where you really need to change these mappings
dynamically?
Yes. In the case of a PCI bus-- you may not know in advance how many
PCI devices there are until you probe the bus. We have
, Jun 16, 2014 at 05:56:32PM +0100, Stuart Yoder wrote:
Do you have use-cases where you really need to change these
mappings dynamically?
Yes. In the case of a PCI bus-- you may not know in advance how
many
PCI devices there are until you probe the bus. We have another
FSL
-Original Message-
From: Sethi Varun-B16395
Sent: Tuesday, June 17, 2014 6:22 AM
To: Will Deacon
Cc: Mark Rutland; devicet...@vger.kernel.org; linux-samsung-
s...@vger.kernel.org; Arnd Bergmann; Pawel Moll; Ian Campbell; Grant
Grundler; Stephen Warren; Yoder Stuart-B08248; Rob
alex.william...@redhat.com
---
Reviewed-by: Stuart Yoder stuart.yo...@freescale.com
Phillips kim.phill...@freescale.com
---
Reviewed-by: Stuart Yoder stuart.yo...@freescale.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
, Mar 26, 2014 at 01:40:32AM +, Stuart Yoder wrote:
Hi Greg,
We (Linaro, Freescale, Virtual Open Systems) are trying get an
issue
closed that has been perculating for a while around creating a
mechanism
that will allow kernel drivers like vfio can bind to devices of
any type
-Original Message-
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
Sent: Thursday, December 19, 2013 2:34 PM
To: Wood Scott-B07421
Cc: Kim Phillips; linux-kernel@vger.kernel.org; k...@vger.kernel.org;
Bhushan Bharat-R65777; Yoder Stuart-B08248;
:43 -0800, Greg Kroah-Hartman wrote:
On Thu, Dec 19, 2013 at 09:06:21PM +, Stuart Yoder wrote:
-Original Message-
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
Sent: Thursday, December 19, 2013 2:34 PM
To: Wood Scott-B07421
Cc: Kim
On Fri, Jul 25, 2014 at 10:08 PM, Yijing Wang wangyij...@huawei.com wrote:
Pci_dev_msi_enabled() is used to check whether device
MSI/MSIX enabled. Refactor this function to suuport
checking only device MSI or MSIX enabled.
Signed-off-by: Yijing Wang wangyij...@huawei.com
So this patch
Greg,
We (Freescale) have a patch series nearly ready to send out
for a new bus driver. It's for a block we call the Freescale
'Management Complex' which manages discoverable hardware objects.
The Linux bus driver enumerates these objects, binds discovered
objects to drivers just like PCI or any
-Original Message-
From: Alex Williamson [mailto:alex.william...@redhat.com]
Sent: Wednesday, October 22, 2014 1:33 PM
To: Marcel Apfelbaum
Cc: linux-...@vger.kernel.org; bhelg...@google.com;
linux-kernel@vger.kernel.org; mar...@redhat.com;
m...@redhat.com; Yoder Stuart-B08248
-Original Message-
From: Marcel Apfelbaum [mailto:marce...@redhat.com]
Sent: Thursday, October 23, 2014 7:32 AM
To: Alex Williamson
Cc: linux-...@vger.kernel.org; bhelg...@google.com;
linux-kernel@vger.kernel.org; mar...@redhat.com;
m...@redhat.com; Yoder Stuart-B08248
Subject:
-Original Message-
From: Marcel Apfelbaum [mailto:marce...@redhat.com]
Sent: Thursday, October 23, 2014 8:37 AM
To: Alex Williamson
Cc: linux-...@vger.kernel.org; bhelg...@google.com;
linux-kernel@vger.kernel.org; mar...@redhat.com;
m...@redhat.com; Yoder Stuart-B08248
Subject:
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
drivers/bus/fsl-mc/dpmng.c | 93 +
drivers/bus/fsl-mc/dprc.c | 504 +++
drivers/bus/fsl-mc/fsl_dpmng_cmd.h | 83
drivers/bus/fsl-mc/fsl_dprc_cmd.h | 545
the MC firmware version and to manipulate
DPRC objects in the MC.
Signed-off-by: J. German Rivera german.riv...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
drivers/bus/fsl-mc/dpmng.c | 93 +
drivers/bus/fsl-mc/dprc.c | 504
+/**
+ * @briefDisconnects one endpoint to remove its network link
+ *
+ * @param[in] mc_ioPointer to opaque I/O object
+ * @param[in]dprc_handleHandle to the DPRC object
+ * @param[in] endpointEndpoint configuration parameters.
+ *
+ * @returns'0' on
the Management Complex (MC) hardware
module of Freescale LS2 SoCs. This patch includes
APIs to check the MC firmware version and to manipulate
DPRC objects in the MC.
Signed-off-by: J. German Rivera german.riv...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
-Original Message-
From: Yoder Stuart-B08248
Sent: Thursday, September 18, 2014 7:19 PM
To: 'Alexander Graf'; Rivera Jose-B46482
Cc: Phillips Kim-R1AAHA; gre...@linuxfoundation.org; a...@arndb.de;
linux-kernel@vger.kernel.org; Wood
Scott-B07421;
+/**
+ * @briefManagement Complex firmware version information
+ */
+#define MC_VER_MAJOR 2
+#define MC_VER_MINOR 0
code should be adjusted to run on all *compatible* versions of h/w,
not strictly the one set in these defines.
This comment is not precise enough be
-Original Message-
From: Kim Phillips [mailto:kim.phill...@freescale.com]
Sent: Friday, September 19, 2014 3:25 PM
To: Yoder Stuart-B08248
Cc: Rivera Jose-B46482; Alexander Graf; gre...@linuxfoundation.org;
a...@arndb.de; linux-
ker...@vger.kernel.org; Wood Scott-B07421;
-Original Message-
From: Alexander Graf [mailto:ag...@suse.de]
Sent: Friday, September 19, 2014 3:33 PM
To: Phillips Kim-R1AAHA; Yoder Stuart-B08248
Cc: Rivera Jose-B46482; gre...@linuxfoundation.org; a...@arndb.de;
linux-kernel@vger.kernel.org; Wood
Scott-B07421;
Speaking of which, how does Linux find this new bus? I couldn't find
anything that describes the device tree bindings, but maybe I just
missed them.
There is a separate thread on the ARM mailing list with the device tree
and binding (device tree will be in arch/arm64):
-Original Message-
From: Kim Phillips [mailto:kim.phill...@freescale.com]
Sent: Friday, September 19, 2014 3:58 PM
To: Yoder Stuart-B08248
Cc: Alexander Graf; Rivera Jose-B46482; Phillips Kim-R1AAHA;
gre...@linuxfoundation.org; a...@arndb.de;
linux-kernel@vger.kernel.org; Wood
; linuxppc-rele...@linux.freescale.net
Subject: Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs
On Mon, Sep 22, 2014 at 02:42:10PM +, Stuart Yoder wrote:
-Original Message-
From: Kim Phillips [mailto:kim.phill...@freescale.com]
Sent: Friday, September 19
-Original Message-
From: Kim Phillips [mailto:kim.phill...@freescale.com]
Sent: Monday, September 22, 2014 11:53 AM
To: Rivera Jose-B46482
Cc: gre...@linuxfoundation.org; a...@arndb.de; linux-kernel@vger.kernel.org;
Yoder Stuart-B08248; Wood Scott-
B07421; ag...@suse.de;
assumption that this is PCI. How do 2 different
bus types share the ITS at the same time.
Thanks,
Stuart Yoder
Freescale
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
Complex (MC) hardware
module of Freescale LS2 SoCs. This patch includes
APIs to check the MC firmware version and to manipulate
DPRC objects in the MC.
Signed-off-by: J. German Rivera german.riv...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
[...]
diff --git
+int dprc_get_container_id(struct fsl_mc_io *mc_io, int *container_id)
This one is definitely a misnomer. It's a command that operates on the
MC object, not a DPRC object. Also it doesn't fetch a random
container_id, it fetches the root container id.
It's not strictly the root
Complex (MC) hardware
module of Freescale LS2 SoCs. This patch includes
APIs to check the MC firmware version and to manipulate
DPRC objects in the MC.
Signed-off-by: J. German Rivera german.riv...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
Complex (MC) hardware
module of Freescale LS2 SoCs. This patch includes
APIs to check the MC firmware version and to manipulate
DPRC objects in the MC.
Signed-off-by: J. German Rivera german.riv...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
On Mon, Nov 24, 2014 at 8:35 AM, Marc Zyngier marc.zyng...@arm.com wrote:
+/*
+ * We need a value to serve as a irq-type for LPIs. Choose one that will
+ * hopefully pique the interest of the reviewer.
+ */
+#define GIC_IRQ_TYPE_LPI 0xa110c8ed
Ok, my interest is piqued. Why
going to work. Wanted to
see if there is any advice in which direction to go.
Thanks,
Stuart Yoder
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
Gerry,
So which direction did you take in your patch set-- a) common,
generic msi_desc, or b) bus-specific msi_desc like Marc showed
(mybus_msi_desc)?
Thanks,
Stuart
On Sun, Jan 18, 2015 at 8:10 PM, Jiang Liu jiang@linux.intel.com wrote:
On 2015/1/16 4:35, Stuart Yoder wrote:
On Thu
Hi Arnd/Alex,
German has posted an example driver for the fsl-mc bus in his RFC
[RFC PATCH 1/1] drivers/bus: fsl-mc object allocator driver.
In addition I have made available the skeleton for a driver for
one of the objects/devices (crypto) that will be discovered on
the bus:
Management Complex bus
driver patch series
On 27.01.15 15:35, Stuart Yoder wrote:
Hi Arnd/Alex,
German has posted an example driver for the fsl-mc bus in his RFC
[RFC PATCH 1/1] drivers/bus: fsl-mc object allocator driver.
In addition I have made available the skeleton for a driver
Management Complex bus
driver patch series
On 26.02.15 21:32, Stuart Yoder wrote:
-Original Message-
From: Alexander Graf [mailto:ag...@suse.de]
Sent: Thursday, February 26, 2015 8:33 AM
To: Yoder Stuart-B08248; a...@arndb.de
Cc: Rivera Jose-B46482; linux-kernel
when allocating a device table, if the requested allocation
is smaller than the default granule size of the ITS
then, we need to round up to the default size
Signed-off-by: Minghuan Lian minghuan.l...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v3 changes
From: Mark Rutland mark.rutl...@arm.com
Date: Thu, Jul 23, 2015 at 11:52 AM
[cut]
diff --git a/Documentation/devicetree/bindings/pci/pci-msi.txt
b/Documentation/devicetree/bindings/pci/pci-msi.txt
new file mode 100644
index 000..9b3cc81
--- /dev/null
+++
-Original Message-
From: Mark Rutland [mailto:mark.rutl...@arm.com]
Sent: Thursday, August 06, 2015 1:15 PM
To: Yoder Stuart-B08248; Marc Zyngier; Will Deacon
Cc: devicet...@vger.kernel.org; Lorenzo Pieralisi; a...@arndb.de;
linux-kernel@vger.kernel.org;
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
drivers/staging/fsl-mc/README.txt | 364 ++
drivers/staging/fsl-mc/TODO | 4 -
2 files changed, 364 insertions(+), 4 deletions(-)
create mode 100644 drivers/staging/fsl-mc/README.txt
diff
add README file providing an overview of the DPAA2 architecture
and how it is integrated in Linux
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v2: added changelog text
drivers/staging/fsl-mc/README.txt | 364 ++
drivers/staging/fsl-mc/TODO
make the list of Kconfig dependencies for Freescale
networking more general. Simplify to supported
architectures: ARM, ARM64, PPC, M68K
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
drivers/net/ethernet/freescale/Kconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff
On Tue, Aug 11, 2015 at 11:01 PM, Dongsheng Wang
dongsheng.w...@freescale.com wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
In freescale layerscape platform there is only FTM0 can be used as
alarm timer to wake up system. So add FTM0 description for devicetree
document.
: [PATCH v2] staging: fsl-mc: add DPAA2 overview readme
On 07.08.15 03:09, Stuart Yoder wrote:
add README file providing an overview of the DPAA2 architecture
and how it is integrated in Linux
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v2: added changelog text
.
On 07.08.2015 03:09, Stuart Yoder wrote:
add README file providing an overview of the DPAA2 architecture
and how it is integrated in Linux
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v2: added changelog text
drivers/staging/fsl-mc/README.txt | 364
update TODO list to provide more detail on remaining work
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
drivers/staging/fsl-mc/TODO | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-mc/TODO b/drivers/staging/fsl-mc/TODO
> -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
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
> -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 30, 2015 3:05 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
> -Original Message-
> From: Arnd Bergmann [mailto:a...@arndb.de]
> Sent: Thursday, October 29, 2015 4:49 PM
> To: linux-arm-ker...@lists.infradead.org
> Cc: Rivera Jose-B46482; robh...@kernel.org; mark.rutl...@arm.com;
> devicet...@vger.kernel.org; linux-
> ker...@vger.kernel.org;
82;
> linux-kernel@vger.kernel.org; robh...@kernel.org; Li Yang-Leo-R58472
> Subject: Re: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A
> SoC
>
> On Tuesday 27 October 2015 18:25:04 Stuart Yoder wrote:
> > I think that comment "Currently supported ena
chanism for this SoC. This mechanism
> is enabled through CONFIG_POWER_RESET_SYSCON.
>
> Signed-off-by: J. German Rivera <german.riv...@freescale.com>
> ---
> CHANGE HISTORY:
>
> Changes in v2:
> - Addressed comment form Stuart Yoder:
> * Removed "@" from reboot
> -Original Message-
> From: Mark Rutland [mailto:mark.rutl...@arm.com]
> Sent: Monday, September 07, 2015 1:05 PM
> To: David Daney
> Cc: Marc Zyngier; tirumalesh.chalama...@caviumnetworks.com; Richter, Robert;
> Chintakuntla, Radha;
> devicet...@vger.kernel.org;
Update the binding for the Freescale Management Complex to include definition
of ranges, msi-parent, and dpmac subnodes.
Stuart Yoder (3):
Docs: dt: fsl-mc: update binding to include msi-parent
Docs: dt: fsl-mc update binding to include definition of ranges
Docs: dt: fsl-mc: update binding
Define a ranges property to specify the mapping between
the MC address space and the system address space.
Signed-off-by: Stuart Yoder <stuart.yo...@freescale.com>
---
.../devicetree/bindings/misc/fsl,qoriq-mc.txt | 30 +-
1 file changed, 29 insertions(+), 1 de
The Freescale Management Complex and all associated objects
use message interrupts, and thus an msi-parent is required.
Signed-off-by: Stuart Yoder <stuart.yo...@freescale.com>
---
Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt | 6 ++
1 file changed, 6 insertions(+)
diff
The fsl-mc node may optionally have dpmac sub-nodes that describe
the relationship between the Ethernet MACs which belong to the MC
and the Ethernet PHYs on the system board.
Signed-off-by: Stuart Yoder <stuart.yo...@freescale.com>
---
.../devicetree/bindings/misc/fsl,qoriq-mc.txt
add missing free of the Linux irq when tearing down interrupts
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c
b/drivers/staging/fsl-mc/bu
tional changes, both the hardware
ABIs and the APIs exposed for the DPAA2 objects remain the same.
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpbp.c | 132 --
drivers/staging/fsl-
want other
new drivers to follow.
Bharat Bhushan (1):
staging: fsl-mc: fix asymmetry in destroy of mc_io
Ioana Radulescu (1):
staging: fsl-mc: convert mc command build/parse to use C structs
Stuart Yoder (9):
staging: fsl-mc: add support for the modalias sysfs attribute
staging: fsl-mc
index to
compose a hwirq value.
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/mc-msi.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-mc/bus/mc-msi.c
b/drivers/staging/fsl-mc/bus/mc-msi.c
index e
-rename the struct used for fsl-mc device ids to be more
consistent with other busses
-remove the now obsolete and unused version fields
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +-
drivers/staging/fsl-mc/bus/mc-allocator.
In order to support uevent based module loading implement modalias support
for the fsl-mc bus driver. Aliases are based on vendor and object/device
id and are of the form "fsl-mc:vNdN".
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/b
Move the definition of fsl_mc_device_id to its proper location in
mod_devicetable.h, and add fsl-mc bus support to devicetable-offsets.c
and file2alias.c to enable device table matching. With this patch udev
based module loading of fsl-mc drivers is supported.
Signed-off-by: Stuart Yoder
When unbinding a dprc from the dprc driver the cleanup of
the resource pools must happen after irq pool cleanup
is done.
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff
hushan <bharat.bhus...@nxp.com>
[Stuart: added check for root dprc and reworded commit message]
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 5 +
drivers/staging/fsl-mc/bus/mc-bus.c | 8
2 files changed, 9 insertio
make fsl_mc_is_root_dprc() global so that the dprc driver
can use it
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/mc-bus.c | 28 +---
drivers/staging/fsl-mc/include/mc.h | 2 ++
2 files changed, 15 insertions(+), 15 deletions(-)
Replace placeholder code in the uevent callback to properly
set the MODALIAS env variable.
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/mc-bus.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-mc/bus/mc-bu
some drivers (built as modules) rely on mc_get_version()
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpmng.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/fsl-mc/bus/dpmng.c
b/drivers/staging/fsl-mc/bus/dpmng.c
index f633fcd..a
> -Original Message-
> From: Mark Rutland [mailto:mark.rutl...@arm.com]
> Sent: Tuesday, February 09, 2016 10:08 AM
> To: Stuart Yoder <stuart.yo...@nxp.com>
> Cc: Marc Zyngier <marc.zyng...@arm.com>; Robin Murphy <robin.mur...@arm.com>;
> robh..
t; Cc: mark.rutl...@arm.com; david.da...@cavium.com; Stuart Yoder
> <stuart.yo...@nxp.com>;
> 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
>
> H
> -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;
>
@arm.com; david.da...@cavium.com;
> Stuart Yoder
> <stuart.yo...@nxp.com>; 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 f
From: Stuart Yoder <stuart.yo...@nxp.com>
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 <stuart.yo...@nxp.com>
---
drivers/of/irq.c |4 +++-
1 fil
> -Original Message-
> From: Stuart Yoder <stuart.yo...@nxp.com>
> 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
From: Stuart Yoder <stuart.yo...@nxp.com>
incorporated feedback from review comments, other misc cleanup/tweaks
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/README.txt | 138 +
1 file changed, 80 insertions(+),
From: Stuart Yoder <stuart.yo...@nxp.com>
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 <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dprc-cmd.h|4
From: Horia Geantă <horia.gea...@freescale.com>
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ă <horia.gea...@freescale.com>
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/
.gea...@nxp.com>
(Stuart: reworded commit message, updated comment in patch)
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
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
From: Stuart Yoder <stuart.yo...@nxp.com>
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpbp.c | 77 -
drivers/staging/fsl-mc/include/dpbp-cmd.h |4 +-
drivers/staging/fsl-mc/include/dpbp.
rinted in the
boot log.
Signed-off-by: Itai Katz <itai.k...@nxp.com>
(Stuart: reworded commit log)
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dprc-driver.c |4 +--
drivers/staging/fsl-mc/bus/mc-allocator.c |6 -
drivers/staging/fsl-mc/bus/mc-
From: Itai Katz <itai.k...@nxp.com>
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 <itai.k...@nxp.com>
[Stuart: update subject and commit message]
Signed-of
reads the actual dprc version from the hardware.
Signed-off-by: Itai Katz <itai.k...@nxp.com>
(Stuart: resolved merge conflict, updated commit subject/log)
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/mc-bus.c | 45 ---
From: Itai Katz <itai.k...@nxp.com>
The dpmcp driver supports dpmcp version 3.0 and above.
This patch adds the code to check the version.
Signed-off-by: Itai Katz <itai.k...@nxp.com>
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpm
From: Itai Katz <itai.k...@nxp.com>
The dprc driver supports dprc version 5.0 and above.
This patch adds the code to check the version.
Signed-off-by: Itai Katz <itai.k...@nxp.com>
(Stuart: resolved merge conflicts, split dpseci quirk into separate patch)
Signed-off-by: Stuart Yode
From: Stuart Yoder <stuart.yo...@nxp.com>
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
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 ++
From: Horia Geantă <horia.gea...@nxp.com>
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ă <horia.gea...@nxp.com>
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/sta
From: Stuart Yoder <stuart.yo...@nxp.com>
Unless discovered devices have the no shareability flag set,
set up coherent dma ops for them.
Signed-off-by: Stuart Yoder <stuart.yo...@nxp.com>
---
drivers/staging/fsl-mc/bus/mc-bus.c |4
1 file changed, 4 insertions(+)
diff --g
From: Stuart Yoder <stuart.yo...@nxp.com>
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 make
1 - 100 of 532 matches
Mail list logo