[PATCH] iommu/arm-smmu: fix some checkpatch issues

2014-07-07 Thread Mitchel Humpherys
Fix some issues reported by checkpatch.pl. Mostly whitespace, but also includes min=>min_t, kzalloc=>kcalloc, and kmalloc=>kmalloc_array. Signed-off-by: Mitchel Humpherys --- drivers/iommu/arm-smmu.c | 59 ++-- 1 file changed, 37 insertions(+), 22 dele

Re: 3.16rc3 multiplatform, Armada 370 and IOMMU: unbootable kernel

2014-07-07 Thread Greg Kroah-Hartman
On Mon, Jul 07, 2014 at 08:37:58PM -0300, Ezequiel Garcia wrote: > On 07 Jul 11:30 AM, Greg Kroah-Hartman wrote: > > On Mon, Jul 07, 2014 at 07:58:18AM -0300, Ezequiel Garcia wrote: > [..] > > > > > > I guess I snipped the thread and lost most of the information about the > > > panic. > > > Here'

Re: [PATCH] driver core: platform: add device binding path 'driver_override'

2014-07-07 Thread Kim Phillips
On Mon, 2 Jun 2014 21:28:42 -0700 Greg KH wrote: > On Mon, Jun 02, 2014 at 07:42:58PM -0500, Kim Phillips wrote: > > You are the platform driver core maintainer: can you apply this to > > your driver-core tree now? > > Yes, I will after this merge window ends, it's too late for 3.16-rc1 > with t

Re: [PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-07-07 Thread Alexander Gordeev
On Mon, Jul 07, 2014 at 01:40:48PM -0600, Bjorn Helgaas wrote: > As you can tell, I'm a little skeptical about this. It's a fairly big > change, it affects the arch interface, it seems to be targeted for > only a single chipset (though it's widely used), and we already > support a standard solutio

[PATCH] iommu: Fix IOMMU sysfs stubs

2014-07-07 Thread Alex Williamson
0-day kernel build testing reports: arch/x86/kvm/x86.o: In function `iommu_device_destroy': >> (.text+0x7a0a): multiple definition of `iommu_device_destroy' arch/x86/kvm/../../../virt/kvm/vfio.o:vfio.c:(.text+0x490): first defined here arch/x86/kvm/x86.o: In function `iommu_device_link':

Re: [PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-07-07 Thread Bjorn Helgaas
On Fri, Jul 4, 2014 at 2:57 AM, Alexander Gordeev wrote: > On Wed, Jul 02, 2014 at 02:22:01PM -0600, Bjorn Helgaas wrote: >> On Tue, Jun 10, 2014 at 03:10:30PM +0200, Alexander Gordeev wrote: >> > There are PCI devices that require a particular value written >> > to the Multiple Message Enable (MM

Re: [PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-07-07 Thread Bjorn Helgaas
On Fri, Jul 4, 2014 at 2:58 AM, Alexander Gordeev wrote: > On Thu, Jul 03, 2014 at 09:20:52AM +, David Laight wrote: >> From: Bjorn Helgaas >> > On Tue, Jun 10, 2014 at 03:10:30PM +0200, Alexander Gordeev wrote: >> > > There are PCI devices that require a particular value written >> > > to the

Re: 3.16rc3 multiplatform, Armada 370 and IOMMU: unbootable kernel

2014-07-07 Thread Greg Kroah-Hartman
On Mon, Jul 07, 2014 at 07:58:18AM -0300, Ezequiel Garcia wrote: > On 05 Jul 01:59 PM, Greg Kroah-Hartman wrote: > > On Sat, Jul 05, 2014 at 12:03:08PM -0300, Ezequiel Garcia wrote: > > > After following Gregory's stacktrace (also reproduced here): > > > > > > [] (iommu_bus_notifier) from [] > >

Re: [RFC 01/10] iommu: Add IOMMU device registry

2014-07-07 Thread Thierry Reding
On Sun, Jul 06, 2014 at 08:17:22PM +0200, Arnd Bergmann wrote: > On Friday 04 July 2014, Will Deacon wrote: > > On Fri, Jul 04, 2014 at 02:47:10PM +0100, Thierry Reding wrote: > > > On Fri, Jul 04, 2014 at 01:05:30PM +0200, Joerg Roedel wrote: > > > > On Thu, Jun 26, 2014 at 10:49:41PM +0200, Thier

Re: [PATCH 1/6] mmput: use notifier chain to call subsystem exit handler.

2014-07-07 Thread Oded Gabbay
On Mon, 2014-07-07 at 12:11 +0200, j...@8bytes.org wrote: > On Sun, Jul 06, 2014 at 07:25:18PM +, Gabbay, Oded wrote: > > Once we can agree on that, than I think we can agree that kfd and hmm > > can and should be bounded to mm struct and not file descriptors. > > The file descriptor concept

Re: [PATCH 1/6] mmput: use notifier chain to call subsystem exit handler.

2014-07-07 Thread Oded Gabbay
On Mon, 2014-07-07 at 12:11 +0200, j...@8bytes.org wrote: > On Sun, Jul 06, 2014 at 07:25:18PM +, Gabbay, Oded wrote: > > Once we can agree on that, than I think we can agree that kfd and hmm > > can and should be bounded to mm struct and not file descriptors. > > The file descriptor concept i

Re: [PATCH 1/6] mmput: use notifier chain to call subsystem exit handler.

2014-07-07 Thread j...@8bytes.org
On Sun, Jul 06, 2014 at 07:25:18PM +, Gabbay, Oded wrote: > Once we can agree on that, than I think we can agree that kfd and hmm > can and should be bounded to mm struct and not file descriptors. The file descriptor concept is the way it works in the rest of the kernel. It works for numerous

Re: [RFC 01/10] iommu: Add IOMMU device registry

2014-07-07 Thread Arnd Bergmann
On Friday 04 July 2014, Will Deacon wrote: > On Fri, Jul 04, 2014 at 02:47:10PM +0100, Thierry Reding wrote: > > On Fri, Jul 04, 2014 at 01:05:30PM +0200, Joerg Roedel wrote: > > > On Thu, Jun 26, 2014 at 10:49:41PM +0200, Thierry Reding wrote: > > > > Add an IOMMU device registry for drivers to re

RE: [PATCH 0/3] iommu/fsl: Fixes for the PAMU driver.

2014-07-07 Thread Varun Sethi
Thanks Joerg. > -Original Message- > From: Joerg Roedel [mailto:j...@8bytes.org] > Sent: Monday, July 07, 2014 2:02 PM > To: Sethi Varun-B16395 > Cc: iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org; > linuxppc-...@lists.ozlabs.org; alex.william...@redhat.com > Subject: Re: [

Re: [PATCH v2] iommu: Constify struct iommu_ops

2014-07-07 Thread Joerg Roedel
On Fri, Jun 27, 2014 at 09:03:12AM +0200, Thierry Reding wrote: > From: Thierry Reding > > This structure is read-only data and should never be modified. > > Signed-off-by: Thierry Reding > --- > Changes in v2: > - add missing hunk from include/device.h > > drivers/iommu/amd_iommu.c |

Re: [PATCH 0/3] iommu/fsl: Fixes for the PAMU driver.

2014-07-07 Thread Joerg Roedel
On Tue, Jun 24, 2014 at 07:27:14PM +0530, Varun Sethi wrote: > This patch set contains fixes for the PAMU driver. > The patches are based on 3.16-rc1. > > Varun Sethi (3): > Fix PAMU window size check. > Fix the device domain attach condition. > Fix the error condition during iommu group c