RE: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-10-01 Thread Stuart Yoder
> +++ b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt > @@ -0,0 +1,63 @@ > +* Run Control and Power Management > +--- > +The RCPM performs all device-level tasks associated with device run control > +and power management. > + > +Required properites: > +

RE: [PATCH] powerpc: move epapr paravirt init of power_save to an initcall

2014-04-30 Thread Stuart Yoder
to an initcall On 30.04.14 21:54, Stuart Yoder wrote: From: Stuart Yoder stuart.yo...@freescale.com some restructuring of epapr paravirt init resulted in ppc_md.power_save being set, and then overwritten to NULL during machine_init. This patch splits the initialization

[PATCH] powerpc: move epapr paravirt init of power_save to an initcall

2014-04-30 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com some restructuring of epapr paravirt init resulted in ppc_md.power_save being set, and then overwritten to NULL during machine_init. This patch splits the initialization of ppc_md.power_save out into a postcore init call. Signed-off-by: Stuart Yoder

[PATCH][v2] powerpc: move epapr paravirt init of power_save to an initcall

2014-04-30 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com some restructuring of epapr paravirt init resulted in ppc_md.power_save being set, and then overwritten to NULL during machine_init. This patch splits the initialization of ppc_md.power_save out into a postcore init call. Signed-off-by: Stuart Yoder

RE: [PATCH][v2] powerpc: move epapr paravirt init of power_save to an initcall

2014-04-30 Thread Stuart Yoder
, 2014-04-30 at 15:20 -0500, Stuart Yoder wrote: From: Stuart Yoder stuart.yo...@freescale.com some restructuring of epapr paravirt init resulted in ppc_md.power_save being set, and then overwritten to NULL during machine_init. This patch splits the initialization of ppc_md.power_save

[PATCH][v3] powerpc: move epapr paravirt init of power_save to an initcall

2014-04-30 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com some restructuring of epapr paravirt init resulted in ppc_md.power_save being set, and then overwritten to NULL during machine_init. This patch splits the initialization of ppc_md.power_save out into a postcore init call. Signed-off-by: Stuart Yoder

[PATCH][v4] powerpc: move epapr paravirt init of power_save to an initcall

2014-04-30 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com some restructuring of epapr paravirt init resulted in ppc_md.power_save being set, and then overwritten to NULL during machine_init. This patch splits the initialization of ppc_md.power_save out into a postcore init call. Signed-off-by: Stuart Yoder

Re: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-11 Thread Stuart Yoder
On Thu, Apr 11, 2013 at 1:33 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Apr 5, 2013, at 2:53 AM, Bhushan Bharat-R65777 wrote: Hi Kumar/Benh, After further looking into the code I think that if we correct the vector range below in DebugDebug handler then we do not need the change I

Re: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-11 Thread Stuart Yoder
So the patch should look something like this (on a 3.8 kernel): diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h index 5f051ee..92b675a 100644 --- a/arch/powerpc/kernel/head_booke.h +++ b/arch/powerpc/kernel/head_booke.h @@ -286,13 +286,13 @@ label: andis.

[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

[PATCH] powerpc/e6500: Add Power ISA properties for e6500 cores

2013-03-05 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- arch/powerpc/boot/dts/fsl/e6500_power_isa.dtsi | 66 1 file changed, 66 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/e6500_power_isa.dtsi diff --git

[PATCH][v2] powerpc/e6500: Add Power ISA properties for e6500 cores

2013-03-05 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v2 -fix some typos arch/powerpc/boot/dts/fsl/e6500_power_isa.dtsi | 65 1 file changed, 65 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl

[PATCH] powerpc: add missing deo ISA category to e500mc/e5500 dts

2013-03-05 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- arch/powerpc/boot/dts/fsl/e500mc_power_isa.dtsi |1 + arch/powerpc/boot/dts/fsl/e5500_power_isa.dtsi |1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl

[PATCH][v3] powerpc/e6500: Add architecture categories for e6500 cores

2013-03-05 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com -also define a binding for fsl,eref-* properties Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v3 -converted EREF specific properties to fsl,eref-* .../devicetree/bindings/powerpc/fsl/cpus.txt | 21 +++ arch/powerpc

[PATCH][v2] powerpc: add missing deo arch category to e500mc/e5500 dts

2013-03-05 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v2 -deo is EREF specific, changed name of property arch/powerpc/boot/dts/fsl/e500mc_power_isa.dtsi |1 + arch/powerpc/boot/dts/fsl/e5500_power_isa.dtsi |1 + 2 files changed, 2

Re: [PATCH V4] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-03-04 Thread Stuart Yoder
On Mon, Mar 4, 2013 at 2:40 AM, Jia Hongtao b38...@freescale.com wrote: A PCIe erratum of mpc85xx may causes a core hang when a link of PCIe goes down. when the link goes down, Non-posted transactions issued via the ATMU requiring completion result in an instruction stall. At the same time a

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

Re: [PATCH][RFC] Replaced tlbilx with tlbwe in the initialization code

2013-02-20 Thread Stuart Yoder
On Tue, Feb 19, 2013 at 1:47 PM, Scott Wood scottw...@freescale.com wrote: This patch addresses boot-time invalidations only. How will you handle hugetlb invalidations (or indirect entry invalidations, once that becomes supported)? We do envision that direct guest TLB management is an opt-in

[PATCH][v4] PPC: add paravirt idle loop for 64-bit book E

2013-02-08 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -removed KVM prefix to patch subject, patch is not KVM specific arch/powerpc/kernel/epapr_hcalls.S |2 ++ arch/powerpc/kernel/idle_book3e.S | 32 ++-- 2

[PATCH][v3] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-24 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v3 -whitespace cleanup, deleted stray comma, added comment arch/powerpc/kernel/epapr_hcalls.S |2 ++ arch/powerpc/kernel/idle_book3e.S | 32 ++-- 2

[PATCH][v2] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-22 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v2 -macro'ized loop in idle_book3e.S to avoid code duplication, paravirt loop is now in idle_book3e.S arch/powerpc/kernel/epapr_hcalls.S |2 ++ arch/powerpc/kernel

[PATCH] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-16 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com loop was derived from book3e_idle() Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- arch/powerpc/kernel/epapr_hcalls.S | 63 1 file changed, 63 insertions(+) diff --git a/arch/powerpc/kernel

[PATCH] powerpc: set stack limit properly in crit_transfer_to_handler

2012-07-16 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com without setting the stack limit like this there is the possibility of stack overflow which corrupts the thread info but is not detected by stack overflow detection Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- arch/powerpc/kernel

[PATCH v4] PPC: use CURRENT_THREAD_INFO instead of open coded assembly

2012-07-05 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v4: fixed build issues in exception-64s.h and exceptions-64s.S arch/powerpc/include/asm/exception-64s.h |4 ++-- arch/powerpc/include/asm/thread_info.h |6 ++ arch/powerpc

[PATCH][v3] PPC: use CURRENT_THREAD_INFO instead of open coded assembly

2012-07-03 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v3 -moved CURRENT_THREAD_INFO out from under the assembly only #define as per comments on mailing list -reversed logic of 64-bit #ifdef for CURRENT_THREAD_INFO macro

[PATCH] PPC: use CURRENT_THREAD_INFO instead of open coded assembly

2012-07-02 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -this patch is a pre-requisite for the idle hcall which I am trying to get into Alex's KVM tree, so ideally would like Ben's ack and get this applied to Alex's tree -built/tested with a 32

[PATCH][v2] PPC: use CURRENT_THREAD_INFO instead of open coded assembly

2012-07-02 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -this patch is a pre-requisite for the idle hcall which I am trying to get into Alex's KVM tree, so ideally would like Ben's ack and get this applied to Alex's tree -built/tested with a 32

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-19 Thread Stuart Yoder
On Wed, Jan 18, 2012 at 3:10 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2012-01-18 at 16:35 +0200, Laurentiu Tudor wrote: This patch adds a menuconfig option that allows controlling the lazy interrupt disabling feature implemented by this commit: commit

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-19 Thread Stuart Yoder
On Thu, Jan 19, 2012 at 1:21 PM, Stuart Yoder b08...@gmail.com wrote: On Wed, Jan 18, 2012 at 3:10 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2012-01-18 at 16:35 +0200, Laurentiu Tudor wrote: This patch adds a menuconfig option that allows controlling the lazy

[PATCH] update name of pic-no-reset property

2011-03-15 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com -changed name from 'no-reset' to 'pic-not-reset' be consisent with Meador Inge's open pic binding patch -update definition Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- Documentation/powerpc/dts-bindings/fsl/mpic.txt |7 +-- 1

[PATCH][v2] define binding for fsl mpic interrupt controllers

2011-01-19 Thread Stuart yoder
From: Stuart Yoder stuart.yo...@freescale.com define the binding for compatible = fsl,mpic, including the definition of 4-cell interrupt specifiers. The 3rd and 4th cells are needed to define additional types of interrupt source outside the normal external and internal interrupts in FSL SoCs

[PATCH] define binding for fsl mpic interrupt controllers

2011-01-17 Thread Stuart yoder
From: Stuart Yoder stuart.yo...@freescale.com define the binding for compatible = fsl,mpic, including the definition of 4-cell interrupt specifiers. The 3rd and 4th cells are needed to define additional types of interrupt source outside the normal external and internal interrupts in FSL SoCs

[PATCH][v2] fix of_flat_dt_is_compatible to match the full compatible string

2010-07-23 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com With the previous string comparison, a device tree compatible of foo-bar would match as compatible with a driver looking for foo. Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- drivers/of/fdt.c |2 +- 1 files changed, 1 insertions

[PATCH] fix of_flat_dt_is_compatible to match the full compatible string

2010-07-22 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com With the previous string comparison, a device tree compatible of foo-bar would match as compatible with a driver looking for foo. Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- drivers/of/fdt.c |2 +- 1 files changed, 1 insertions

Re: [RFC] Clock binding

2009-08-31 Thread Stuart Yoder
How about right here:  http://fdt.secretlab.ca/ I've only just created the site.  I'll fill in some documentation and structure in the next few days.  Feel free to create an account and start adding stuff. We'll need to talk about how best to manage bindings and have some form of

Re: [RFC] Clock binding

2009-08-28 Thread Stuart Yoder
On Thu, Aug 27, 2009 at 9:43 PM, Benjamin Herrenschmidtb...@kernel.crashing.org wrote: On Thu, 2009-08-27 at 16:36 -1000, Mitch Bradley wrote: The idea of a wiki as a registration authority is a good one, but I'm not volunteering to maintain it :-) here goes my hope :-) Do we have wiki's we

Re: [RFC] Clock binding

2009-08-28 Thread Stuart Yoder
Lets *not* do it on power.org.  I'd like to see the bindings used by more than just powerpc people, and power.org might become a bit of a mental barrier for non-powerpc folks.  kernel.org would be a good host.  So would ozlabs or infradead.  Or I'd be happy to maintain one on secretlab. I

[PATCH][POWERPC] document ipic level/sense info

2007-07-09 Thread Stuart Yoder
document level and sense information for the Freescale IPIC interrupt controller Signed-off-by: Stuart Yoder [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/Documentation/powerpc

[PATCH v2][POWERPC] document ipic level/sense info

2007-07-09 Thread Stuart Yoder
document level and sense information for the Freescale IPIC interrupt controller Signed-off-by: Stuart Yoder [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/Documentation/powerpc