[PATCH powerpc] Fix MAX_STACK_TRACE_ENTRIES too low warning for ppc32

2012-12-02 Thread Li Zhong
This patch fixes MAX_STACK_TRACE_ENTRIES too low warning for ppc32, which is similar to commit 12660b17. Reported-by: Christian Kujau Signed-off-by: Li Zhong Tested-by: Christian Kujau --- arch/powerpc/kernel/entry_32.S |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/ker

[PATCH 2/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-12-02 Thread Alexey Kardashevskiy
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 and handling. This patch implements an IOMMU driver for VFIO which does map

[PATCH 1/2] vfio powerpc: enabled on powernv platform

2012-12-02 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

[PATCH 0/2] vfio on power: yet another try

2012-12-02 Thread Alexey Kardashevskiy
The set includes 2 patches. The first one adds necessary support for VFIO IOMMU support, the second one adds a SPAPR TCE IOMMU driver to VFIO. At the moment we have decided to get rid of DMA64 window properties because we need more API than just 2 properties (such as dynamic window allocation) bu

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

2012-12-02 Thread Jianguo Wu
Hi Congyang, This is the new version. Thanks, Jianguo Wu. Signed-off-by: Jianguo Wu Signed-off-by: Jiang Liu --- include/linux/mm.h |1 + mm/sparse-vmemmap.c | 231 +++ mm/sparse.c |3 +- 3 files changed, 234 insertions(+), 1

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

2012-12-02 Thread Li Zhong
On Sat, 2012-12-01 at 12:32 -0800, Christian Kujau wrote: > On Wed, 28 Nov 2012 at 16:41, Li Zhong wrote: > > 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:

Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-02 Thread Tabi Timur-B04825
Joerg Roedel wrote: > When you add implementation specific attributes please add some > indication to the names that it is only for PAMU. DOMAIN_ATTR_STASH > sounds too generic. We were thinking that maybe this attribute could be useful to other IOMMUs in the future. Stashing is not a concept th

Re: [PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API

2012-12-02 Thread Joerg Roedel
Hi Marek, On Mon, Nov 26, 2012 at 11:57:19AM +0100, Marek Szyprowski wrote: > I've took all the patches to the next-dma-debug branch in my tree, I sorry > that You have to wait so long for it. My branch is based on Joerg's > dma-debug branch and I've included it for testing in linux-next branch.

Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-02 Thread Joerg Roedel
Hmm, we need to work out a good abstraction for this. On Tue, Nov 20, 2012 at 07:24:56PM +0530, Varun Sethi wrote: > Added the following domain attributes required by FSL PAMU driver: > 1. Subwindows field added to the iommu domain geometry attribute. Are the Subwindows mapped with full size or d

[PATCH] powerpc/windfarm: use for_each_node_by_type() macro

2012-12-02 Thread Wei Yongjun
From: Wei Yongjun Use for_each_node_by_type() macro instead of open coding it. Signed-off-by: Wei Yongjun --- drivers/macintosh/windfarm_rm31.c | 2 +- drivers/macintosh/windfarm_pm72.c | 2 +- drivers/macintosh/windfarm_pm112.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

RE: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-02 Thread Sethi Varun-B16395
Ping!! > -Original Message- > From: Sethi Varun-B16395 > Sent: Monday, November 26, 2012 10:55 AM > To: joerg.roe...@amd.com > Cc: Sethi Varun-B16395; io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; linux-ker...@vger.kernel.org; Wood Scott-B07421; > Tabi Timur-B04825 >