[PATCH 2/2 v6] powerpc/85xx: Abstract common define of signal multiplex control for qe

2012-02-21 Thread Zhicheng Fan
From: Zhicheng Fan The mpc85xx_rdb and mpc85xx_mds have commom define of signal multiplex for qe, so they need to go in common header, the patch abstract them to fsl_guts.h Signed-off-by: Zhicheng Fan --- arch/powerpc/include/asm/fsl_guts.h |6 - arch/powerpc/platforms/85xx/mpc8

[PATCH 1/2 v6] powerpc/85xx: Add Quicc Engine support for p1025rdb

2012-02-21 Thread Zhicheng Fan
From: Zhicheng Fan Signed-off-by: Zhicheng Fan --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 77 - 1 files changed, 76 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index e95aef7

[PATCH] powerpc: Fix various issues with return to userspace

2012-02-21 Thread Benjamin Herrenschmidt
We have a few problems when returning to userspace. This is a quick set of fixes for 3.3, I'll look into a more comprehensive rework for 3.4. This fixes: - We kept interrupts soft-disabled when schedule'ing or calling do_signal when returning to userspace as a result of a hardware interrupt. -

RE: [PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-21 Thread Liu Yu-B13201
> -Original Message- > From: tiejun.chen [mailto:tiejun.c...@windriver.com] > Sent: Wednesday, February 22, 2012 10:52 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v5 3/4] KVM:

Re: [PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-21 Thread tiejun.chen
Liu Yu-B13201 wrote: > >> -Original Message- >> From: tiejun.chen [mailto:tiejun.c...@windriver.com] >> Sent: Tuesday, February 21, 2012 6:54 PM >> To: Liu Yu-B13201 >> Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; >> linuxppc-...@ozlabs.org; Wood Scott-B07421 >> Subjec

RE: [PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-21 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, February 22, 2012 5:58 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v5 4/4] KVM: PPC: epapr: Update other hype

RE: [PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-21 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, February 22, 2012 5:56 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v5 1/4] KVM: PPC: epapr: Factor out the ep

RE: [PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-21 Thread Liu Yu-B13201
> -Original Message- > From: tiejun.chen [mailto:tiejun.c...@windriver.com] > Sent: Tuesday, February 21, 2012 6:54 PM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v5 3/4] KVM: PP

[PATCH/RFC] rapidio: temporarily exclude FSL_RIO from 64 bit builds

2012-02-21 Thread Paul Gortmaker
The following are seen while using the corenet64_smp_defconfig: arch/powerpc/sysdev/fsl_rmu.c:315: error: cast from pointer to integer of different size arch/powerpc/sysdev/fsl_rmu.c:320: error: cast to pointer from integer of different size arch/powerpc/sysdev/fsl_rmu.c:320: error: cast to poin

Re: [PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-21 Thread Scott Wood
On 02/20/2012 10:46 PM, Liu Yu wrote: > Discard the old way that invoke hypercall, > instead, use epapr paravirt. > > Signed-off-by: Liu Yu > --- > v5: new patch > > arch/powerpc/include/asm/epapr_hcalls.h | 22 +- > arch/powerpc/include/asm/fsl_hcalls.h | 36 +

Re: [PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-21 Thread Scott Wood
On 02/20/2012 10:46 PM, Liu Yu wrote: > from the kvm guest paravirt init code. > > Signed-off-by: Liu Yu > --- > v5: > 1. fix the if test > 2. use patch_instruction() > 3. code cleanup > 4. rename the files > 5. make epapr paravirt user-selectable > > arch/powerpc/include/asm/epapr_hcalls.h |

[PATCH] powerpc/85xx: allow CONFIG_PHYS_64BIT to be selectable

2012-02-21 Thread Timur Tabi
Remove the "select PHYS_64BIT" from the Kconfig entry for the P1022DS, so that large physical address support is a selectable option for non-CoreNet reference boards. The option is enabled in mpc85xx_[smp_]defconfig so that the default is unchanged. However, now it can be deselected. The P1022DS

Re: [PATCH v5 21/27] irq_domain/c6x: Use library of xlate functions

2012-02-21 Thread Mark Salter
On Thu, 2012-02-16 at 02:09 -0700, Grant Likely wrote: > The c6x irq controllers don't need to define custom .xlate hooks > > Signed-off-by: Grant Likely > Cc: Rob Herring > Cc: Mark Salter > Cc: Thomas Gleixner > --- > arch/c6x/kernel/irq.c|1 + > arch/c6x/platforms/megamod-p

Re: [PATCH v5 20/27] irq_domain/c6x: constify irq_domain structures

2012-02-21 Thread Mark Salter
On Thu, 2012-02-16 at 02:09 -0700, Grant Likely wrote: > Signed-off-by: Grant Likely > Cc: Mark Salter > Cc: Thomas Gleixner > --- > arch/arm/common/gic.c|2 +- > arch/c6x/kernel/irq.c|2 +- > arch/c6x/platforms/megamod-pic.c |2 +- > 3 files changed, 3 inser

Re: [PATCH v5 00/27] irq_domain generalization and rework

2012-02-21 Thread Cousson, Benoit
On 2/17/2012 6:55 PM, Russell King - ARM Linux wrote: > On Fri, Feb 17, 2012 at 06:42:31PM +0100, Cousson, Benoit wrote: [...] >> @@ -1237,8 +1238,10 @@ twl_probe(struct i2c_client *client, const struct >> i2c_device_id *id) >> >> pdata->irq_base = status; >> pdata->irq_end = pdata->ir

Re: [PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-21 Thread tiejun.chen
Liu Yu wrote: > If the guest hypervisor node contains "has-idle" property. > > Signed-off-by: Liu Yu > --- > v5: no change > > arch/powerpc/kernel/epapr_hcalls.S | 29 + > arch/powerpc/kernel/epapr_paravirt.c | 11 ++- > 2 files changed, 39 insertions(+

Re: [PATCH] powerpc: Fix program check handling when lockdep is enabled

2012-02-21 Thread Benjamin Herrenschmidt
On Tue, 2012-02-21 at 18:32 +1100, Michael Ellerman wrote: > In commit 54321242afe ("Disable interrupts early in Program Check"), we > switched from enabling to disabling interrupts in program_check_common. > > Whereas ENABLE_INTS leaves r3 untouched, if lockdep is enabled DISABLE_INTS > calls int