[PATCH 2/2 v4] powerpc/dts: Add dts for p1020rdb-pc board

2012-02-08 Thread Zhicheng Fan
From: Zhicheng Fan P1020RDB-PC Overview -- 1Gbyte DDR3 SDRAM 32 Mbyte NAND flash 10 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: - eTSE

[PATCH 1/2 v4] powerpc/85xx: Add p1020rdb-pc platform support

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

[PATCH] powerpc: Fix WARN_ON in decrementer_check_overflow

2012-02-08 Thread Benjamin Herrenschmidt
We use __get_cpu_var() which triggers a false positive warning in smp_processor_id() thinking interrupts are enabled (at this point, they are soft-enabled but hard-disabled). Signed-off-by: Benjamin Herrenschmidt --- I was initially planning to fix that with a more in-depth rework of how we do l

[PATCH v2] powerpc: Rework lazy-interrupt handling

2012-02-08 Thread Benjamin Herrenschmidt
>From 0ace17ba6960a8788b1bda3770df254cbbc6a244 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Thu, 9 Feb 2012 15:25:04 +1100 Subject: [PATCH] powerpc: Rework lazy-interrupt handling The current implementation of lazy interrupts handling has some issues that this tries to address. Ex

[PATCH] powerpc/wsp: Fix IRQ affinity setting

2012-02-08 Thread Benjamin Herrenschmidt
We call the cache_hwirq_map() function with a linux IRQ number but it expects a HW irq number. This triggers a BUG on multic-chip setups in addition to not doing the right thing. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/platforms/wsp/ics.c |2 +- 1 files changed, 1 insertions(+

Re: [PATCH v2 ] Implement GET_IP/SET_IP for powerpc architecture.

2012-02-08 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 09/24] PCI, powerpc: Register busn_res for root buses

2012-02-08 Thread Benjamin Herrenschmidt
On Wed, 2012-02-08 at 07:58 -0800, Bjorn Helgaas wrote: > The only architecture-specific thing here is discovering the range of > bus numbers below a host bridge. The architecture should not have to > mess around with pci_bus_update_busn_res_end() like this. It should > be able to say "here's my

Re: tlb flushing on Power

2012-02-08 Thread Benjamin Herrenschmidt
> 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 it's > > not meant to be used as is), use set_pte_at(). >

Re: [linuxppc-release] [PATCH 2/2] powerpc/85xx: update SEC node in dts for MPC8572DS

2012-02-08 Thread Kim Phillips
On Wed, 8 Feb 2012 10:39:43 -0600 Timur Tabi wrote: > Jia Hongtao wrote: > > -/include/ "pq3-sec3.0-0.dtsi" > > +/include/ "pq3-sec3.1-0.dtsi" > > This is not "adding SEC 3.1 support". This patch is saying that the 8572 > DTS was using the *wrong* SEC version. If that's true, you need to > exp

Re: tlb flushing on Power

2012-02-08 Thread Seth Jennings
Hey Ben, Thanks for responding. On 01/26/2012 03:39 PM, Benjamin Herrenschmidt wrote: > On Thu, 2012-01-26 at 08:41 -0600, Brian King wrote: >> CC'ing linuxppc-dev... >> >> >> On 01/26/2012 08:18 AM, Seth Jennings wrote: >>> Hey Dave, >>> >>> So I submitted the zsmalloc patches to lkml at the beg

Re: [PATCH 09/24] PCI, powerpc: Register busn_res for root buses

2012-02-08 Thread Yinghai Lu
On Wed, Feb 8, 2012 at 7:58 AM, Bjorn Helgaas wrote: > On Sat, Feb 4, 2012 at 10:57 PM, Yinghai Lu wrote: >> 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

Re: [linuxppc-release] [PATCH 2/2] powerpc/85xx: update SEC node in dts for MPC8572DS

2012-02-08 Thread Timur Tabi
Jia Hongtao wrote: > Add sec3.1 support > > Signed-off-by: Jin Qing > Signed-off-by: Zhao Chenhui > Signed-off-by: Jia Hongtao > Signed-off-by: Li Yang > --- > arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/po

Re: [linuxppc-release] [PATCH 1/2] powerpc/85xx: Change style of partition nodes in dts for MPC8572DS

2012-02-08 Thread Timur Tabi
Jia Hongtao wrote: > - read-only; > + label = "ramdisk-nor"; This is not a "style change". Please explain this patch better. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linux

Re: [PATCH 09/24] PCI, powerpc: Register busn_res for root buses

2012-02-08 Thread Bjorn Helgaas
On Sat, Feb 4, 2012 at 10:57 PM, Yinghai Lu wrote: > 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

Re: [PATCH v2 ] Implement GET_IP/SET_IP for powerpc architecture.

2012-02-08 Thread Srikar Dronamraju
With this change, helpers such as instruction_pointer() et al, get defined in the generic header in terms of GET_IP Removed the unnecessary definition of profile_pc in !CONFIG_SMP case as suggested by Mike Frysinger. Signed-off-by: Srikar Dronamraju Signed-off-by: Ananth N Mavinakayanahalli ---

Re: [PATCH 00/14] Backport 8xx TLB to 2.4

2012-02-08 Thread Willy Tarreau
On Wed, Feb 08, 2012 at 12:39:50PM +0100, Joakim Tjernlund wrote: > > BTW, since you're asking, you seem to still be using 2.4. Do you think it's > > worth pursuing maintenance over 2.4.37.12 and if so for how long ? I'm > > asking > > because until the break-in, I felt like almost nobody was usin

Re: [PATCH 00/14] Backport 8xx TLB to 2.4

2012-02-08 Thread Joakim Tjernlund
Willy Tarreau wrote on 2012/02/08 10:44:26: > > Hi Joakim, > > On Wed, Feb 08, 2012 at 09:44:18AM +0100, Joakim Tjernlund wrote: > > Willy Tarreau wrote on 2011/12/11 18:33:46: > > > > > > Hi Joakim, > > > > > > On Sun, Dec 11, 2011 at 06:19:54PM +0100, Joakim Tjernlund wrote: > > > > > To: Joaki

Re: [PATCH 00/14] Backport 8xx TLB to 2.4

2012-02-08 Thread Willy Tarreau
Hi Joakim, On Wed, Feb 08, 2012 at 09:44:18AM +0100, Joakim Tjernlund wrote: > Willy Tarreau wrote on 2011/12/11 18:33:46: > > > > Hi Joakim, > > > > On Sun, Dec 11, 2011 at 06:19:54PM +0100, Joakim Tjernlund wrote: > > > > To: Joakim Tjernlund > > > > From: Willy Tarreau > > > > > > > > Hi Joa

[PATCH 1/2 v2] P1025RDB: Add Quicc Engine support

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

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

2012-02-08 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 | 19 +++ arch/powerpc/platf

[PATCH 2/2] powerpc/85xx: update SEC node in dts for MPC8572DS

2012-02-08 Thread Jia Hongtao
Add sec3.1 support Signed-off-by: Jin Qing Signed-off-by: Zhao Chenhui Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi b

[PATCH 1/2] powerpc/85xx: Change style of partition nodes in dts for MPC8572DS

2012-02-08 Thread Jia Hongtao
Signed-off-by: Jin Qing Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- arch/powerpc/boot/dts/mpc8572ds.dtsi | 44 -- 1 files changed, 26 insertions(+), 18 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8572ds.dtsi b/arch/powerpc/boot/dts/mpc8572ds.

Re: [PATCH 00/14] Backport 8xx TLB to 2.4

2012-02-08 Thread Joakim Tjernlund
Willy Tarreau wrote on 2011/12/11 18:33:46: > > Hi Joakim, > > On Sun, Dec 11, 2011 at 06:19:54PM +0100, Joakim Tjernlund wrote: > > > To: Joakim Tjernlund > > > From: Willy Tarreau > > > > > > Hi Joakim, On Mon, Oct 10, 2011 at 01:30:06PM +0200, Joakim Tjernlund > > > wrote: > This is a > > >