Re: [RFC PATCH 3/5] iommu: Add support for the unmap_pages IOMMU callback

2021-04-01 Thread Will Deacon
On Thu, Apr 01, 2021 at 04:34:37PM +0100, Robin Murphy wrote: > On 2021-03-31 04:00, Isaac J. Manjarres wrote: > > The IOMMU framework currently unmaps memory one page block at a time, > > per the page block sizes that are supported by the IOMMU hardware. > > Now that IOMMU drivers can supply a cal

Re: [RFC PATCH 3/5] iommu: Add support for the unmap_pages IOMMU callback

2021-04-01 Thread Robin Murphy
On 2021-03-31 04:00, Isaac J. Manjarres wrote: The IOMMU framework currently unmaps memory one page block at a time, per the page block sizes that are supported by the IOMMU hardware. Now that IOMMU drivers can supply a callback for unmapping multiple in one call, add support in the IOMMU framewo

[RFC PATCH 3/5] iommu: Add support for the unmap_pages IOMMU callback

2021-03-30 Thread Isaac J. Manjarres
The IOMMU framework currently unmaps memory one page block at a time, per the page block sizes that are supported by the IOMMU hardware. Now that IOMMU drivers can supply a callback for unmapping multiple in one call, add support in the IOMMU framework to calculate how many page mappings of the sam