[PATCH] powerpc: Look for ibm, associativity-reference-points at the root

2011-04-10 Thread Michael Ellerman
If we don't find ibm,associativity-reference-points as a child of /rtas, look for it at the root of the tree instead. We use this on Book3E where we have no RTAS but still use the sPAPR conventions for NUMA. Signed-off-by: Michael Ellerman --- arch/powerpc/mm/numa.c | 15 +++ 1 fil

[PATCH] driver/e1000e: Fix default interrupt mode select

2011-04-10 Thread Prabhakar Kushwaha
From: Prabhakar e1000 default interrupt mode is MSI. No matter user select MSI or disable MSI in kernel config. Signed-off-by: Jin Qing Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git(branch master) drivers/net/e1000e/p

Re: [PATCH 2/4] powerpc/pci: Move IO workarounds to the common kernel dir

2011-04-10 Thread Stephen Rothwell
On Mon, 11 Apr 2011 15:54:28 +1000 (EST) Benjamin Herrenschmidt wrote: > > diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig > index 220b137..44059e1 100644 > --- a/arch/powerpc/platforms/Kconfig > +++ b/arch/powerpc/platforms/Kconfig > @@ -162,6 +162,9 @@ config PPC_IN

Re: [PATCH 1/4] powerpc/pci: Split IO vs MMIO indirect access hooks

2011-04-10 Thread Stephen Rothwell
Hi Ben, Just a small note: On Mon, 11 Apr 2011 15:54:27 +1000 (EST) Benjamin Herrenschmidt wrote: > > diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig > index 59eeb77..220b137 100644 > --- a/arch/powerpc/platforms/Kconfig > +++ b/arch/powerpc/platforms/Kconfig > @@ -

[PATCH] powerpc: Standardise on MMU_NO_CONTEXT

2011-04-10 Thread Michael Ellerman
Use MMU_NO_CONTEXT as the initialiser for mm_context.id on book3e and hash64. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/mmu-book3e.h |2 ++ arch/powerpc/include/asm/mmu-hash64.h |2 ++ arch/powerpc/include/asm/tlbflush.h |2 -- arch/powerpc/mm/mmu_context_hash64.

[PATCH] powerpc: Dump chip data pointer in virq_mapping

2011-04-10 Thread Michael Ellerman
This can be useful for differentiating interrupts on the same host but with different chip data. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/irq.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c ind

[PATCH 4/4] powerpc/pci: Properly initialize IO workaround "private"

2011-04-10 Thread Benjamin Herrenschmidt
Even when no initfunc is provided. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/io-workarounds.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/io-workarounds.c b/arch/powerpc/kernel/io-workarounds.c

[PATCH 3/4] powerpc/pci: Make IO workarounds init implicit when first bus is registered

2011-04-10 Thread Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/io-workarounds.h |1 - arch/powerpc/kernel/io-workarounds.c | 27 +++ arch/powerpc/platforms/cell/celleb_pci.c | 18 +- arch/powerpc/platforms/

[PATCH 2/4] powerpc/pci: Move IO workarounds to the common kernel dir

2011-04-10 Thread Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/io-workarounds.h| 49 +++ arch/powerpc/kernel/Makefile |2 + arch/powerpc/kernel/io-workarounds.c | 184 + arch/powerpc/platforms/Kcon

[PATCH 1/4] powerpc/pci: Split IO vs MMIO indirect access hooks

2011-04-10 Thread Benjamin Herrenschmidt
The goal is to avoid adding overhead to MMIO when only PIO is needed Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/io.h | 16 +++- arch/powerpc/platforms/Kconfig | 13 + arch/powerpc/platforms/cell

Re: [PATCH] fix build warnings on defconfigs

2011-04-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 03:04 Sun 10 Apr , wanlong@gmail.com wrote: > From: Wanlong Gao > > Change the BT_L2CAP and BT_SCO defconfigs from 'm' to 'y', > since BT_L2CAP and BT_SCO had changed to bool configs. > > Signed-off-by: Wanlong Gao > --- for at91 Acked-by: Jean-Christophe PLAGNIOL-VILLARD Best Rega

Re: [PATCH] net: Remove invalid offloads

2011-04-10 Thread David Miller
From: Michał Mirosław Date: Fri, 8 Apr 2011 14:38:46 +0200 (CEST) > Remove offload changing ethtool ops which drivers don't really support: > > - fs_enet > - ucc_geth > > Signed-off-by: Michał Mirosław Applied. ___ Linuxppc-dev mailing list Linux

Re: [PATCH] fix build warnings on defconfigs

2011-04-10 Thread wanlong gao
On 4/11/11, Uwe Kleine-König wrote: > On Sun, Apr 10, 2011 at 03:04:18AM +0800, wanlong@gmail.com wrote: >> From: Wanlong Gao >> >> Change the BT_L2CAP and BT_SCO defconfigs from 'm' to 'y', >> since BT_L2CAP and BT_SCO had changed to bool configs. > Pointing out the commit that changed these

Re: [PATCH 2/3] powerpc: Use MSR_64BIT in places

2011-04-10 Thread Benjamin Herrenschmidt
On Sun, 2011-04-10 at 12:29 -0500, Kumar Gala wrote: > On Apr 9, 2011, at 5:04 PM, Benjamin Herrenschmidt wrote: > > > On Fri, 2011-04-08 at 04:24 -0500, Kumar Gala wrote: > >> On Apr 8, 2011, at 2:56 AM, Michael Ellerman wrote: > >> > >>> Use the new MSR_64BIT in a few places. Some of these are

Re: [PATCH] fix build warnings on defconfigs

2011-04-10 Thread Uwe Kleine-König
On Sun, Apr 10, 2011 at 03:04:18AM +0800, wanlong@gmail.com wrote: > From: Wanlong Gao > > Change the BT_L2CAP and BT_SCO defconfigs from 'm' to 'y', > since BT_L2CAP and BT_SCO had changed to bool configs. Pointing out the commit that changed these two in the commit log would be nice. Someth

Re: [PATCH 2/3] powerpc: Use MSR_64BIT in places

2011-04-10 Thread Kumar Gala
On Apr 9, 2011, at 5:04 PM, Benjamin Herrenschmidt wrote: > On Fri, 2011-04-08 at 04:24 -0500, Kumar Gala wrote: >> On Apr 8, 2011, at 2:56 AM, Michael Ellerman wrote: >> >>> Use the new MSR_64BIT in a few places. Some of these are already ifdef'ed >>> for BOOKE vs BOOKS, but it's still clearer,

Re: [PATCH] powerpc: ps3 - Update debug message for irq_set_chip_data()

2011-04-10 Thread Geoff Levand
On 04/10/2011 01:59 AM, Geert Uytterhoeven wrote: > commit ec775d0e70eb6b7116406b3441cb8501c2849dd2 ("powerpc: Convert to new > irq_* > function names") changed a call from set_irq_chip_data() to > irq_set_chip_data(), but forgot to update the corresponding debug message Thanks for the attention

[PATCH RESENT] net: ps3_gelic: convert to hw_features

2011-04-10 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- [untested] [resent because of broken headers] drivers/net/ps3_gelic_net.c | 26 +- drivers/net/ps3_gelic_net.h |3 --- drivers/net/ps3_gelic_wireless.c |4 3 files changed, 5 insertions(+), 28 deletions(-) diff

[PATCH] powerpc: ps3 - Update debug message for irq_set_chip_data()

2011-04-10 Thread Geert Uytterhoeven
>From 7193fcea7af93d57a0fea04efa28bcb5a7412e39 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Sun, 10 Apr 2011 10:45:35 +0200 Subject: [PATCH] powerpc: ps3 - Update debug message for irq_set_chip_data() commit ec775d0e70eb6b7116406b3441cb8501c2849dd2 ("powerpc: Convert to new irq_* func