[PATCH 07/22] PCI, powerpc: Register busn_res for root buses

2012-02-10 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index

Re: tlb flushing on Power

2012-02-10 Thread Seth Jennings
On 02/08/2012 03:04 PM, Benjamin Herrenschmidt wrote: > >> You can look at https://lkml.org/lkml/2012/1/9/389 in zsmalloc-main.c, >> zs_[un]map_object() functions for the currently uses of set_pte() and >> __flush_tlb_one(). >> >>> set_pte() is long gone on all archs really (or if it's still there

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

2012-02-10 Thread Scott Wood
On 02/10/2012 04:02 AM, Liu Yu wrote: > +_GLOBAL(epapr_ev_idle) > +epapr_ev_idle: > +#ifdef CONFIG_E500 > + rlwinm r3,r1,0,0,31-THREAD_SHIFT /* current thread_info */ > + lwz r4,TI_LOCAL_FLAGS(r3) /* set napping bit */ > + ori r4,r4,_TLF_NAPPING /* so when we take

Re: [PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-10 Thread Scott Wood
On 02/10/2012 04:02 AM, Liu Yu wrote: > from the kvm guest paravirt init code. > > Signed-off-by: Liu Yu > --- > v3: > apply the epapr init for all ppc platform > > arch/powerpc/Kconfig|4 +++ > arch/powerpc/include/asm/epapr_hcalls.h |8 + > arch/powerpc/kernel/

[PULL REQUEST] DMA-mapping framework redesign preparation patches

2012-02-10 Thread Marek Szyprowski
Hi Stephen, Our patches with DMA-mapping framework redesign proposal have been hanging for over a month with just a few comments. We would like to go further in the development, but first I would like to ask You to give them a try in the linux-next kernel. For everyone interested in this patch se

Re: [PATCH V2] fsl-sata: I/O load balancing

2012-02-10 Thread Jeff Garzik
On 01/19/2012 09:19 PM, qiang@freescale.com wrote: From: Qiang Liu Reduce interrupt signals through reset Interrupt Coalescing Control Reg. Provide dynamic method to adjust interrupt signals and timer ticks by sysfs. It is a tradeoff for different applications. Signed-off-by: Qiang Liu ---

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

2012-02-10 Thread shuo.liu
From: Liu Shuo 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 machine-check exception is generated to the core to allow fur

[PATCH 2/2 v3] powerpc/dts: Add dts for p1025rdb board

2012-02-10 Thread Zhicheng Fan
From: Zhicheng Fan P1025RDB Overview -- 1Gbyte DDR3 SDRAM 32 Mbyte NAND flash 16Mbyte NOR flash 16 Mbyte SPI flash SD connector to interface with the SD memory card Real-time clock on I2C bus PCIe: - x1 PCIe slot - x1 mini-PCIe slot 10/100/1000 BaseT Ethernet ports: - eTSEC1, RG

[PATCH 1/2 v3] powerpc/85xx: Add p1025rdb platform support

2012-02-10 Thread Zhicheng Fan
From: Zhicheng Fan Signed-off-by: Zhicheng Fan --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index d54772e..e95ae

[PATCH v3 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-10 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v3: 1. apply the hcall idle for all ppc platform 2. add a loop to prevent spurious wakeups arch/powerpc/kernel/Makefile |2 +- arch/powerpc/kernel/epapr.S | 47 +++

[PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-10 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu --- v3: apply the epapr init for all ppc platform arch/powerpc/Kconfig|4 +++ arch/powerpc/include/asm/epapr_hcalls.h |8 + arch/powerpc/kernel/Makefile|1 + arch/powerpc/kernel/epapr_pa

[PATCH v3 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-10 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu --- v3: no change arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c |8 include/linux/kvm.h |2 ++

RE: [PATCH V2] fsl-sata: I/O load balancing

2012-02-10 Thread Liu Qiang-B32616
Hi Jeff, Do you have any suggestion about this patch :) > -Original Message- > From: Liu Qiang-B32616 > Sent: Friday, January 20, 2012 10:19 AM > To: jgar...@pobox.com; linux-...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Liu > Qiang-B32616 > Subje

[PATCH 2/2 V3] powerpc/85xx: Add p2020rdb-pc dts support

2012-02-10 Thread b29983
From: Tang Yuantian Signed-off-by: Prabhakar Kushwaha Signed-off-by: Poonam Aggrwal Signed-off-by: Tang Yuantian --- v3: -correct the patch author arch/powerpc/boot/dts/p2020rdb-pc.dtsi| 241 + arch/powerpc/boot/dts/p2020rdb-pc_32b.dts | 96

[PATCH 1/2 V3] powerpc/85xx: Add P1024rdb dts support

2012-02-10 Thread b29983
From: Tang Yuantian Signed-off-by: Jin Qing Signed-off-by: Li Yang Signed-off-by: Tang Yuantian --- v3: -correct the patch author arch/powerpc/boot/dts/p1024rdb.dtsi| 228 arch/powerpc/boot/dts/p1024rdb_32b.dts | 87 arch/powerpc/b