[GIT PULL] iommu: Kill off pgsize_bitmap field from struct iommu_ops

David Woodhouse dwmw2 at infradead.org
Wed Apr 1 07:28:10 PDT 2015


On Wed, 2015-04-01 at 15:05 +0100, Will Deacon wrote:
> That just leaves the case where the caller tries to map something
> smaller than a page. Do we want to return the amount mapped in
> iommu_map?

Perhaps we should just expose the *minimum* page size? Although for the
IOMMU API I thought that was always assumed to be the same as PAGE_SIZE,
and for the DMA API it doesn't matter much because you're *given* the
IOVA, and you just know that it's mapped *enough*.

-- 
dwmw2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150401/378fd17a/attachment-0001.bin>


More information about the linux-arm-kernel mailing list