[PATCH] powerpc: tracing: Avoid tracepoint duplication with DECLARE_EVENT_CLASS

2012-05-22 Thread Anton Blanchard
irq_entry, irq_exit, timer_interrupt_entry and timer_interrupt_exit all do the same thing so use DECLARE_EVENT_CLASS to avoid duplicating everything 4 times. This saves quite a lot of space in both instruction text and data: textdata bss dec hex filename 9265 19622 1

[patch] sched, numa: Allocate node_queue on any node for offline nodes

2012-05-22 Thread David Rientjes
struct node_queue must be allocated with NUMA_NO_NODE for nodes that are not (yet) online, otherwise the page allocator has a bad zonelist and results in an early crash. Tested-by: Stephen Rothwell Signed-off-by: David Rientjes --- kernel/sched/numa.c |3 ++- 1 files changed, 2 insertions

[PATCH] powerpc: Enable jump label support

2012-05-22 Thread Anton Blanchard
When looking through some instruction traces I noticed our tracepoint checks were inline. It turns out we don't have CONFIG_JUMP_LABEL enabled. By enabling CONFIG_JUMP_LABEL we replace a load/compare/branch with a nop at every tracepoint call. For example in do_IRQ: CONFIG_JUMP_LABEL disabled:

powerc tree maintainership status

2012-05-22 Thread Benjamin Herrenschmidt
Hi Folks ! I'm going to be getting some surgery next week. In the good case, I should be officially back to work 2 weeks later, but I might end up being unavailable for longer. So while I'm away, Michael Ellerman and Paul Mackerras are going to take care of the powerpc tree. I'll make sure Paul a

[git pull] Please pull powerpc.git next branch

2012-05-22 Thread Benjamin Herrenschmidt
Hi Linus ! Here are the powerpc goodies for 3.5. Main highlights are: - Support for the NX crypto engine in Power7+ - A bunch of Anton goodness, including some micro optimization of our syscall entry on Power7 - I converted a pile of our thermal control drivers to the new i2c APIs (essen

[PATCH v2 2/2] microblaze/PCI: Add pcibios_device_change_notifier for microblaze

2012-05-22 Thread Hiroo Matsumoto
pcibios_setup_bus_devices which sets DMA and IRQs of PCI device is called only when boot, so DMA and IRQs of PCI device will not set when hotplug. This patch adds pcibios_device_change_notifier which sets DMA and IRQs of PCI device when PCI device adds, so DMA and IRQs of PCI device will be set whe

[PATCH v2 1/2] powerpc/PCI: Add pcibios_device_change_notifier for powerpc

2012-05-22 Thread Hiroo Matsumoto
pcibios_setup_bus_devices which sets DMA and IRQs of PCI device is called only when boot, so DMA and IRQs of PCI device will not set when hotplug. This patch adds pcibios_device_change_notifier which sets DMA and IRQs of PCI device when PCI device adds, so DMA and IRQs of PCI device will be set whe

[PATCH v2 0/2] Add pcibios_device_change_notifier

2012-05-22 Thread Hiroo Matsumoto
This patchset is for PCI hotplug. pcibios_setup_bus_devices which sets DMA and IRQs of PCI device is called only when boot. DMA setting in probe for PCI driver, like dma_set_mask, does not work on powerpc platform. So it is need to set DMA and IRQs of PCI device when hotplug. 1. Moving pcibios_s

Re: [PATCH 1/3] of: Add prefix parameter to of_modalias_node().

2012-05-22 Thread Grant Likely
Cool, thanks. g. On Tue, May 22, 2012 at 4:49 PM, David Daney wrote: > On 05/22/2012 01:09 PM, Grant Likely wrote: >> >> On Tue, May 22, 2012 at 1:45 PM, David Daney >>  wrote: >>> >>> On 05/19/2012 11:08 PM, Grant Likely wrote: On Sat, 19 May 2012 23:54:36 -0600, Grant Likel

Re: [PATCH 1/3] of: Add prefix parameter to of_modalias_node().

2012-05-22 Thread David Daney
On 05/22/2012 01:09 PM, Grant Likely wrote: On Tue, May 22, 2012 at 1:45 PM, David Daney wrote: On 05/19/2012 11:08 PM, Grant Likely wrote: On Sat, 19 May 2012 23:54:36 -0600, Grant Likelywrote: On Fri, 11 May 2012 15:05:21 -0700, David Daney wrote: From: David Daney When generatin

Re: [PATCH 1/3] of: Add prefix parameter to of_modalias_node().

2012-05-22 Thread Grant Likely
On Tue, May 22, 2012 at 1:45 PM, David Daney wrote: > On 05/19/2012 11:08 PM, Grant Likely wrote: >> >> On Sat, 19 May 2012 23:54:36 -0600, Grant >> Likely  wrote: >>> >>> On Fri, 11 May 2012 15:05:21 -0700, David Daney >>>  wrote: From: David Daney When generating MODALIASes,

Re: [PATCH 1/3] of: Add prefix parameter to of_modalias_node().

2012-05-22 Thread David Daney
On 05/19/2012 11:08 PM, Grant Likely wrote: On Sat, 19 May 2012 23:54:36 -0600, Grant Likely wrote: On Fri, 11 May 2012 15:05:21 -0700, David Daney wrote: From: David Daney When generating MODALIASes, it is convenient to add things like "spi:" or "i2c:" to the front of the strings. This al

Re: [PATCH] gianfar:don't add FCB length to hard_header_len

2012-05-22 Thread David Miller
From: Jiajun Wu Date: Tue, 22 May 2012 17:00:48 +0800 > FCB(Frame Control Block) isn't the part of netdev hard header. > Add FCB to hard_header_len will make GRO fail at MAC comparision stage. > > Signed-off-by: Jiajun Wu Applied, thanks. Someone needs to go through this driver when net-next

Re: Handling spin table in kdump

2012-05-22 Thread McClintock Matthew-B29882
On Tue, May 22, 2012 at 7:42 AM, Suzuki K. Poulose wrote: > Hi > > I came across the following issue while testing Kdump on an SMP > board(Currituck) running a non-SMP kernel. Even though the kernel is UP, > the device-tree has the nodes for second CPU and the related details. > > > The kexec tool

Handling spin table in kdump

2012-05-22 Thread Suzuki K. Poulose
Hi I came across the following issue while testing Kdump on an SMP board(Currituck) running a non-SMP kernel. Even though the kernel is UP, the device-tree has the nodes for second CPU and the related details. The kexec tool adds the spin table area as a reserved section in the device tree f

Re: powerpc -next rebase WARNING

2012-05-22 Thread Josh Boyer
On Tue, May 22, 2012 at 12:40 AM, Benjamin Herrenschmidt wrote: > On Tue, 2012-05-22 at 11:51 +1000, Benjamin Herrenschmidt wrote: >> Folks, bad news ... my fault. >> >> I accidentally forgot a --signoff on a git am command last week, meaning >> that a pair of patches are in -next and not signed o

[PATCH] gianfar:don't add FCB length to hard_header_len

2012-05-22 Thread Jiajun Wu
FCB(Frame Control Block) isn't the part of netdev hard header. Add FCB to hard_header_len will make GRO fail at MAC comparision stage. Signed-off-by: Jiajun Wu --- drivers/net/ethernet/freescale/gianfar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ether