Re: [PATCH] export of_reconfig_notifier_[register,unregister]

2012-11-28 Thread Benjamin Herrenschmidt
On Wed, 2012-11-28 at 13:42 -0600, Nathan Fontenot wrote: > The of reconfiguration notification chains should be exported for use > by modules. > > Signed-off-by:Nathan Fontenot Grant, I'm applying that into the powerpc tree (with a slightly modified subject line). You don't need to add it to yo

[PATCH] dts/t4240: Added SEC-5.0 device tree.

2012-11-28 Thread Vakul Garg
Signed-off-by: Vakul Garg --- This patch has a dependency on the patch titled: "Corrected PAMU device address range to encompass 6 PAMU partitions." arch/powerpc/boot/dts/fsl/qoriq-sec5.0-0.dtsi | 109 + arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |2 + 2 files cha

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-11-28 Thread Alex Williamson
On Thu, 2012-11-29 at 14:53 +1100, Alexey Kardashevskiy wrote: > This patch initializes IOMMU groups based on the IOMMU > configuration discovered during the PCI scan on POWERNV > (POWER non virtualized) platform. The IOMMU groups are > to be used later by VFIO driver (PCI pass through). > > It al

[PATCH] dts/t4240: Corrected PAMU device address range to encompass 6 PAMU partitions.

2012-11-28 Thread Vakul Garg
Signed-off-by: Vakul Garg --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi index ea6e2f4..e8809cd 100644 --- a/arch/powerpc/boot/dts/

[PATCH] dts/t4240: Corrected PAMU device address range to encompass 6 PAMU partitions.

2012-11-28 Thread Vakul Garg
Signed-off-by: Vakul Garg --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi index ea6e2f4..e8809cd 100644 --- a/arch/powerpc/boot/dts/

[PATCH] vfio powerpc: enabled on powernv platform

2012-11-28 Thread Alexey Kardashevskiy
This patch initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by VFIO driver (PCI pass through). It also implements an API for mapping/unmapping pages for guest PCI drivers and

Re: [PATCH] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-28 Thread Alexey Kardashevskiy
On 29/11/12 08:01, Alex Williamson wrote: On Wed, 2012-11-28 at 18:21 +1100, Alexey Kardashevskiy wrote: VFIO implements platform independent stuff such as a PCI driver, BAR access (via read/write on a file descriptor or direct mapping when possible) and IRQ signaling. The platform dependent pa

[PATCH 2/2] powerpc: collapse some equivalent asm macros

2012-11-28 Thread Stephen Rothwell
Since we removed the section changes from them, some of the entry point macros are now the same, so just use the obvious ones. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/ppc_asm.h | 41 arch/powerpc/kernel/head_64.S |6 +++--- arc

[PATCH 1/2] powerpc: remove section changes from _GLOBAL() and friends

2012-11-28 Thread Stephen Rothwell
These sometimes produce unexpected results and make it hard to put the start up code (for 64 bit) into the .head.text section. This also adds some explicit .texts at the start of asm files that did not have them. Suggested by Alan Modra. Cc: Alan Modra Signed-off-by: Stephen Rothwell --- arch

Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule

2012-11-28 Thread Benjamin Herrenschmidt
On Wed, 2012-11-28 at 11:33 -0700, Stephen Warren wrote: > Following this patch (http://lkml.org/lkml/2012/11/27/555), I posted a > series of patches to convert almost all architectures to using the > centralized rule. The one architecture I didn't convert was PowerPC. > > I didn't convert it bec

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-11-28 Thread Alex Williamson
On Wed, 2012-11-28 at 18:18 +1100, Alexey Kardashevskiy wrote: > This patch initializes IOMMU groups based on the IOMMU > configuration discovered during the PCI scan on POWERNV > (POWER non virtualized) platform. The IOMMU groups are > to be used later by VFIO driver (PCI pass through). > > It al

Re: [PATCH] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-28 Thread Alex Williamson
On Wed, 2012-11-28 at 18:21 +1100, Alexey Kardashevskiy wrote: > VFIO implements platform independent stuff such as > a PCI driver, BAR access (via read/write on a file descriptor > or direct mapping when possible) and IRQ signaling. > > The platform dependent part includes IOMMU initialization >

Re: [GIT PULL 0/8] perf/urgent fixes

2012-11-28 Thread Josh Boyer
On Fri, Nov 23, 2012 at 7:20 PM, Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Tested using a cross-compiler and directly on a Raspberry pi (ARM) > with > raspbian. > > Please consider pulling. > > - Arnaldo > > The following changes since commit 18423d3562f396206e0928a71177eeb2e

fsl spi questions & patch

2012-11-28 Thread Frans Meulenbroeks
Hi, I've been playing with spi on mpc8313e and have some things on spi-fsl-spi.c: Is QE useful on 8313? I've tried it (using cpu-qe in my dts file) and see in the boot log that it is used, but I do not really see any effect when it comes to performance or cpu usage. Furthermore: In the fsl_spi_c

[PATCH] export of_reconfig_notifier_[register,unregister]

2012-11-28 Thread Nathan Fontenot
The of reconfiguration notification chains should be exported for use by modules. Signed-off-by:Nathan Fontenot --- Index: linux-next/drivers/of/base.c === --- linux-next.orig/drivers/of/base.c 2012-11-28 09:18:02.0 -0600 +

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2012-11-28 Thread Christian Kujau
On Wed, 28 Nov 2012 at 16:41, Li Zhong wrote: > Would you please help to try the following fix? I don't have a powerpc32 > machine for test... I've just applied this to 3.7-rc7 and booted the machine. I don't know how to trigger this bug, so it might take a while until it happens again - or not,

Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule

2012-11-28 Thread Stephen Warren
On 11/27/2012 04:29 PM, Stephen Warren wrote: > All architectures that use cmd_dtc do so in almost the same way. Create > a central build rule to avoid duplication. The one difference is that > most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather > than building the .dtb in the

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-28 Thread Jianguo Wu
Hi Congyang, I think vmemmap's pgtable pages should be freed after all entries are cleared, I have a patch to do this. The code logic is the same as [Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture. How do you think about this? Signed-off-by: Jianguo Wu Signed-off-by:

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2012-11-28 Thread Li Zhong
On Tue, 2012-11-27 at 19:22 -0800, Christian Kujau wrote: > On Tue, 27 Nov 2012 at 19:06, Christian Kujau wrote: > > the same thing[0] happened again in 3.7-rc7, after ~20h uptime: > > I found the following on patchwork, but this seems to deal with powerpc64 > only, while this PowerBook G4 of min