Re: [PATCH] iommu: Split iommu_unmaps

2013-11-07 Thread David Woodhouse
On Fri, 2013-05-24 at 11:14 -0600, Alex Williamson wrote: iommu_map splits requests into pages that the iommu driver reports that it can handle. The iommu_unmap path does not do the same. This can cause problems not only from callers that might expect the same behavior as the map path, but

Re: [PATCH 2/2] ARM: SMMU: return NULL on error in arm_smmu_iova_to_phys

2013-11-07 Thread Will Deacon
On Mon, Oct 14, 2013 at 06:09:48PM +0100, Will Deacon wrote: On Mon, Oct 14, 2013 at 04:17:51PM +0100, Antonios Motakis wrote: On Mon, Oct 14, 2013 at 2:48 PM, Will Deacon will.dea...@arm.com wrote: On Fri, Oct 11, 2013 at 02:24:47PM +0100, Antonios Motakis wrote: VFIO will exercise this

Re: [PATCH 1/1] IOMMU: Save pci device id instead of pci_dev* pointer for DMAR devices

2013-11-07 Thread Yijing Wang
HI Bjorn, Thanks for your review and comments very much! +list_for_each_entry(dmar_dev, head, list) +if (dmar_dev-segment == pci_domain_nr(dev-bus) + dmar_dev-bus == dev-bus-number + dmar_dev-devfn == dev-devfn) +