[PATCH] PPC: define the conditions where the ePAPR idle hcall can be supported

2013-03-22 Thread Stuart Yoder
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

Re: [PATCH 4/5] iommu: Add domain window handling functions

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

Re: [PATCH 4/5] iommu: Add domain window handling functions

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

Re: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-02-26 Thread Stuart Yoder
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,

Re: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-02-27 Thread Stuart Yoder
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*/ +

Re: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-03-01 Thread Stuart Yoder
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 = +

Re: [PATCH 2/6] powerpc/fsl_pci: Store the platform device information corresponding to the pci controller.

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

driver core patches

2013-11-05 Thread Stuart Yoder
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

RE: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-06-16 Thread 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;

RE: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-06-16 Thread Stuart Yoder
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

RE: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-06-17 Thread Stuart Yoder
, 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

RE: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-06-17 Thread Stuart Yoder
-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

RE: [PATCH] PCI: Introduce new device binding path using pci_dev.driver_override

2014-04-10 Thread Stuart Yoder
alex.william...@redhat.com --- Reviewed-by: Stuart Yoder stuart.yo...@freescale.com

RE: [PATCH] driver core: platform: add device binding path 'driver_override'

2014-04-10 Thread Stuart Yoder
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

RE: mechanism to allow a driver to bind to any device

2014-03-31 Thread Stuart Yoder
, 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

RE: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-19 Thread Stuart Yoder
-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;

RE: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-19 Thread Stuart Yoder
: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

Re: [RFC PATCH 03/11] PCI/MSI: Refactor pci_dev_msi_enabled()

2014-08-05 Thread Stuart Yoder
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

location for new bus driver-- drivers/bus? drivers/misc?

2014-08-11 Thread Stuart Yoder
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

RE: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Stuart Yoder
-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

RE: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Stuart Yoder
-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:

RE: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Stuart Yoder
-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:

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread Stuart Yoder
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

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread Stuart Yoder
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

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread Stuart Yoder
+/** + * @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

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread Stuart Yoder
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

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread Stuart Yoder
-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;

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread Stuart Yoder
+/** + * @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

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread Stuart Yoder
-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;

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread Stuart Yoder
-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;

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-20 Thread Stuart Yoder
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):

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-22 Thread Stuart Yoder
-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

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-22 Thread Stuart Yoder
; 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

RE: [PATCH 0/3 v2] drivers/bus: Freescale Management Complex bus driver patch series

2014-09-22 Thread Stuart Yoder
-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;

Re: [PATCH v3 10/13] irqchip: GICv3: ITS: DT probing and initialization

2014-11-25 Thread Stuart Yoder
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

RE: [PATCH 1/3 v4] drivers/bus: Added Freescale Management Complex APIs

2014-11-26 Thread Stuart Yoder
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

RE: [PATCH 1/3 v4] drivers/bus: Added Freescale Management Complex APIs

2014-11-26 Thread Stuart Yoder
+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

RE: [PATCH 1/3 v4] drivers/bus: Added Freescale Management Complex APIs

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

RE: [PATCH 1/3 v4] drivers/bus: Added Freescale Management Complex APIs

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

Re: [PATCH v3 09/13] irqchip: GICv3: ITS: MSI support

2014-12-04 Thread Stuart Yoder
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

Re: [PATCH v2 1/8] device core: Introduce per-device MSI domain pointer

2015-01-15 Thread Stuart Yoder
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

Re: [PATCH v2 1/8] device core: Introduce per-device MSI domain pointer

2015-01-20 Thread Stuart Yoder
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

RE: [PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

2015-01-27 Thread Stuart Yoder
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:

RE: [PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

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

RE: [PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

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

[RESEND][ PATCH v3] irqchip/gicv3-its: ITS table size should not be smaller than PSZ

2015-05-20 Thread Stuart Yoder
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

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-08-05 Thread Stuart Yoder
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 +++

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-08-06 Thread Stuart Yoder
-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;

[PATCH] staging: fsl-mc: add DPAA2 overview readme

2015-08-06 Thread Stuart Yoder
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

[PATCH v2] staging: fsl-mc: add DPAA2 overview readme

2015-08-06 Thread Stuart Yoder
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

[PATCH] net/fsl: simplify Kconfig dependency list for fsl networking

2015-08-13 Thread Stuart Yoder
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

Re: [PATCH v3 1/2] Documentation: DT: FTM: add FTM0 be used as alarm timer

2015-08-13 Thread Stuart Yoder
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.

RE: [PATCH v2] staging: fsl-mc: add DPAA2 overview readme

2015-08-10 Thread Stuart Yoder
: [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

RE: [PATCH v2] staging: fsl-mc: add DPAA2 overview readme

2015-08-11 Thread Stuart Yoder
. 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

[PATCH] staging: fsl-mc: update TODO list

2015-07-16 Thread Stuart Yoder
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

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

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

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

2015-11-03 Thread Stuart Yoder
> -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

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

2015-10-30 Thread Stuart Yoder
> -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;

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

2015-10-30 Thread Stuart Yoder
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

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

2015-10-30 Thread Stuart Yoder
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

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-09-08 Thread Stuart Yoder
> -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;

[PATCH 0/3] Docs: dt: update binding for Freescale Management Complex

2015-09-25 Thread Stuart Yoder
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

[PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges

2015-09-25 Thread Stuart Yoder
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

[PATCH 1/3] Docs: dt: fsl-mc: update binding to include msi-parent

2015-09-25 Thread Stuart Yoder
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

[PATCH 3/3] Docs: dt: fsl-mc: update binding to define dpmac subnodes

2015-09-25 Thread Stuart Yoder
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

[PATCH 08/11] staging: fsl-mc: dprc: add missing irq free

2016-06-22 Thread Stuart Yoder
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

[PATCH 11/11] staging: fsl-mc: convert mc command build/parse to use C structs

2016-06-22 Thread Stuart Yoder
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-

[PATCH 00/11] staging: fsl-mc: module loading support, fixes, and cleanup

2016-06-22 Thread Stuart Yoder
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

[PATCH 10/11] staging: fsl-mc: properly set hwirq in msi set_desc

2016-06-22 Thread Stuart Yoder
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

[PATCH 03/11] staging: fsl-mc: clean up the device id struct

2016-06-22 Thread Stuart Yoder
-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.

[PATCH 01/11] staging: fsl-mc: add support for the modalias sysfs attribute

2016-06-22 Thread Stuart Yoder
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

[PATCH 04/11] staging: fsl-mc: add support for device table matching

2016-06-22 Thread Stuart Yoder
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

[PATCH 09/11] staging: fsl-mc: dprc: fix ordering problem freeing resources in remove of dprc

2016-06-22 Thread 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

[PATCH 07/11] staging: fsl-mc: fix asymmetry in destroy of mc_io

2016-06-22 Thread Stuart Yoder
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

[PATCH 06/11] staging: fsl-mc: make fsl_mc_is_root_dprc() global

2016-06-22 Thread Stuart Yoder
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(-)

[PATCH 02/11] staging: fsl-mc: implement uevent callback and set the modalias

2016-06-22 Thread Stuart Yoder
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

[PATCH 05/11] staging: fsl-mc: export mc_get_version

2016-06-22 Thread Stuart Yoder
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

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 <stuart.yo...@nxp.com> > Cc: Marc Zyngier <marc.zyng...@arm.com>; Robin Murphy <robin.mur...@arm.com>; > robh..

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

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

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; >

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 > <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

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

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

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 <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

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

2016-04-11 Thread Stuart Yoder
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(+),

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2016-04-11 Thread Stuart Yoder
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   2   3   4   5   6   >