[GIT PULL 0/8] perf/urgent fixes

2012-11-23 Thread Arnaldo Carvalho de Melo
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 18423d3562f396206e0928a71177eeb2edfed077: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/

[PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error

2012-11-23 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool. Signed-off-by: Sukadev Bhattiprolu Acked-by: David Howells Cc: Anton Blanchard Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Cc: linuxppc-...@ozlabs.org Link: htt

[PATCH 7/9] sh: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/sh/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH 3/9] ia64: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/ia64/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 4/9] microblaze: dma-mapping: support debug_dma_mapping_error

2012-11-23 Thread Shuah Khan
Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan Acked-by: Michal Simek --- This patch is

[PATCH 6/9] powerpc: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/powerpc/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff --

[PATCH 5/9] mips: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/mips/include/asm/dma-mapping.h |2 ++ 1 file changed, 2 insertions(+) diff --g

[PATCH 9/9] tile: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/tile/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 8/9] sparc: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: David S. Miller --- arch/sparc/include/asm/dma-mapping.h |1 + 1 file changed

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

2012-11-23 Thread Shuah Khan
An earlier patch added dma mapping error debug feature to dma_debug infrastructure. References: https://lkml.org/lkml/2012/10/8/296 https://lkml.org/lkml/2012/11/3/219 The following series of patches adds the call to debug_dma_mapping_error() to architecture specific dma_mapping_error() interface

[PATCH 2/9] c6x: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: Mark Salter --- arch/c6x/include/asm/dma-mapping.h |1 + 1 file changed, 1 in

[PATCH 1/9] ARM64: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: Catalin Marinas --- arch/arm64/include/asm/dma-mapping.h |1 + 1 file changed

[PATCH] powerpc/pci-hotplug: fix the rescanned pci device's dma_set_mask issue

2012-11-23 Thread Yuanquan Chen
On powerpc arch, dma_ops of rescanned pci device after system's booting up won't be initialized by system, so it will fail to execute the dma_set_mask in the device's driver. Initialize it to solve this issue. Signed-off-by: Yuanquan Chen --- arch/powerpc/include/asm/dma-mapping.h |7 +

Re: [PATCH 056/493] edac: remove use of __devexit_p

2012-11-23 Thread Greg KH
On Fri, Nov 23, 2012 at 11:06:35AM +0100, Borislav Petkov wrote: > On Thu, Nov 22, 2012 at 10:22:22AM -0800, Greg KH wrote: > > On Thu, Nov 22, 2012 at 02:44:51PM +0100, Borislav Petkov wrote: > > > On Mon, Nov 19, 2012 at 01:20:05PM -0500, Bill Pemberton wrote: > > > > CONFIG_HOTPLUG is going away

Re: [PATCH 056/493] edac: remove use of __devexit_p

2012-11-23 Thread Borislav Petkov
On Thu, Nov 22, 2012 at 10:22:22AM -0800, Greg KH wrote: > On Thu, Nov 22, 2012 at 02:44:51PM +0100, Borislav Petkov wrote: > > On Mon, Nov 19, 2012 at 01:20:05PM -0500, Bill Pemberton wrote: > > > CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer > > > needed. > > > > Erm, I d

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

2012-11-23 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 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-23 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 0/2] vfio powerpc: implemented and enabled

2012-11-23 Thread Alexey Kardashevskiy
The series includes IOMMU implementation and necessary IOMMU groups initialization. Alexey Kardashevskiy (2): vfio powerpc: implemented IOMMU driver for VFIO vfio powerpc: enabled on powernv platform arch/powerpc/include/asm/iommu.h |6 + arch/powerpc/kernel/iommu.c | 141