Re: [PATCH v3 5/7] iommu/amd: Implement (un)map_resource

2015-07-01 Thread Bjorn Helgaas
On Fri, May 29, 2015 at 12:14:44PM -0500, wda...@nvidia.com wrote: > From: Will Davis > > Implement 'map_resource' for the AMD IOMMU driver. Generalize the existing > map_page implementation to operate on a physical address, and make both > map_page and map_resource wrappers around that helper (a

[PATCH v3 5/7] iommu/amd: Implement (un)map_resource

2015-05-29 Thread wdavis
From: Will Davis Implement 'map_resource' for the AMD IOMMU driver. Generalize the existing map_page implementation to operate on a physical address, and make both map_page and map_resource wrappers around that helper (and similiarly, for unmap_page and unmap_resource). This allows a device to m