[PATCH v3] iommu: Add driver for Renesas VMSA-compatible IPMMU

2014-04-02 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/iommu/Kconfig| 12 + drivers/iommu/Makefile |1 + drivers/iommu/ipmmu-vmsa.c | 1070 ++

Re: [GIT PULL] VT-d fixes and ACPI device mapping support for 3.15

2014-04-02 Thread Joerg Roedel
On Tue, Apr 01, 2014 at 03:35:35PM +0100, David Woodhouse wrote: On Mon, 2014-03-24 at 15:17 +, David Woodhouse wrote: Jörg, please pull into your x86/vt-d branch from git://git.infradead.org/iommu-2.6 Again, please. A few minor fixes... Dan Carpenter (1):

Re: [RFC PATCH] PCI: Introduce new device binding path using pci_dev.driver_override

2014-04-02 Thread Kim Phillips
On Tue, 1 Apr 2014 17:23:24 -0700 Greg KH gre...@linuxfoundation.org wrote: On Tue, Apr 01, 2014 at 06:52:12PM -0500, Kim Phillips wrote: On Tue, 01 Apr 2014 10:28:54 -0600 Alex Williamson alex.william...@redhat.com wrote: The driver_override field allows us to specify the driver for a

Re: [RFC PATCH] PCI: Introduce new device binding path using pci_dev.driver_override

2014-04-02 Thread Alex Williamson
On Wed, 2014-04-02 at 17:06 -0500, Kim Phillips wrote: On Tue, 1 Apr 2014 17:23:24 -0700 Greg KH gre...@linuxfoundation.org wrote: On Tue, Apr 01, 2014 at 06:52:12PM -0500, Kim Phillips wrote: On Tue, 01 Apr 2014 10:28:54 -0600 Alex Williamson alex.william...@redhat.com wrote:

[PATCH 0/3] SH-Mobile IPMMU miscellaneous cleanups

2014-04-02 Thread Laurent Pinchart
Hello, These three patches are small cleanups for the SH-Mobile IPMMU driver. Nothing special here, please see individual patches for details. I plan to send a pull request in a couple of days. Laurent Pinchart (2): iommu/shmobile: Don't ignore the ipmmu_iommu_init() return value

[PATCH 3/3] iommu/shmobile: Use devm_ioremap_resource()

2014-04-02 Thread Laurent Pinchart
Replace the devm_ioremap_nocache() call with devm_ioremap_resource(). This simplifies error checking. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/iommu/shmobile-ipmmu.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git

[PATCH 1/3] iommu/shmobile: Depend on ARCH_SHMOBILE

2014-04-02 Thread Laurent Pinchart
From: Paul Bolle pebo...@tiscali.nl Commit 78a2e12f51d9 (iommu: shmobile: Enable driver compilation with COMPILE_TEST) added an optional dependency on SH_MOBILE. But that Kconfig symbol doesn't exist. It seems ARCH_SHMOBILE was intended. Use that. Signed-off-by: Paul Bolle pebo...@tiscali.nl

[PATCH 2/3] iommu/shmobile: Don't ignore the ipmmu_iommu_init() return value

2014-04-02 Thread Laurent Pinchart
The function can fail, don't ignore its error value. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/iommu/shmobile-ipmmu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iommu/shmobile-ipmmu.c b/drivers/iommu/shmobile-ipmmu.c

Re: [PATCH 0/2] ARM SMMU fixes

2014-04-02 Thread Laurent Pinchart
Hi Will, On Friday 28 February 2014 16:37:08 Laurent Pinchart wrote: Hello Will, I've studied your arm-smmu driver as a base to write a Renesas IOMMU driver and found two small issues. Here are patches to fix them. Please bear with me if my understanding was incorrect and the patches wrong