Re: [PATCH 2/7] Initial skeleton of VFIO support for Device Tree based devices

2013-10-28 Thread Don Dutile
On 09/30/2013 11:37 AM, Bhushan Bharat-R65777 wrote: -Original Message- From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Antonios Motakis Sent: Monday, September 30, 2013 8:59 PM To: kvm...@lists.cs.columbia.edu; alex.willia

Re: [PATCH 1/7] VFIO_IOMMU_TYPE1 workaround to build for platform devices

2013-10-28 Thread Don Dutile
On 10/02/2013 08:14 AM, Alexander Graf wrote: On 01.10.2013, at 21:21, Yoder Stuart-B08248 wrote: static int __init vfio_iommu_type1_init(void) { - if (!iommu_present(&pci_bus_type)) +#ifdef CONFIG_PCI + if (iommu_present(&pci_bus_type)) { + iommu_bus_type =&pci_bus_t

Re: [PATCH v2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-28 Thread Will Deacon
On Mon, Oct 28, 2013 at 04:44:22PM +, Alex Williamson wrote: > On Fri, 2013-10-18 at 17:08 +0200, Antonios Motakis wrote: > > IOMMU groups are expected by certain users of the IOMMU API, > > e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU > > group to satisfy those users. > > >

[PATCH 00/19] Enable various Renesas drivers on all ARM platforms

2013-10-28 Thread Laurent Pinchart
Hello, This patch series, based on v3.12-rc7, prepares various Renesas drivers for migration to multiplatform kernels by enabling their compilation or otherwise fixing them on all ARM platforms. The patches are pretty straightforward and are described in their commit message. I'd like to get all

[PATCH 05/19] iommu: shmobile: Enable the driver on all ARM platforms

2013-10-28 Thread Laurent Pinchart
Renesas ARM platforms are transitioning from single-platform to multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the driver available on all ARM platforms to enable it on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI and increase build testing coverage. Cc: Joerg Roedel Cc: iommu@lists

Re: [PATCH] KVM: Return the actual unmapped size in intel_iommu_unmap()

2013-10-28 Thread Alex Williamson
On Fri, 2013-10-25 at 11:21 +, Wu, Feng wrote: > Actual unmapped size should be returned by intel_iommu_unmap(), because > iommu_map() which calls this function depends on the real unmapped size. > However, in the current logic, the return value of intel_iommu_unmap() > is far smaller than the

Re: [PATCH v2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-28 Thread Alex Williamson
On Fri, 2013-10-18 at 17:08 +0200, Antonios Motakis wrote: > IOMMU groups are expected by certain users of the IOMMU API, > e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU > group to satisfy those users. > > Changes from v1: > * Added check that dev->archdata.iommu has not been se

Re: [PATCHv3 01/19] [HACK] of: dev_node has struct device pointer

2013-10-28 Thread Thierry Reding
On Fri, Oct 25, 2013 at 08:01:36PM +0100, Grant Likely wrote: > On Fri, 25 Oct 2013 12:49:38 +0200, Thierry Reding > wrote: > > On Fri, Oct 25, 2013 at 11:49:05AM +0200, Hiroshi Doyu wrote: > > > Thierry Reding wrote @ Fri, 25 Oct 2013 > > > 11:11:05 +0200: > > > > > > > > > This is actually "