[GIT PULL] iommu: Kill off pgsize_bitmap field from struct iommu_ops
David Woodhouse
dwmw2 at infradead.org
Wed Apr 1 07:46:10 PDT 2015
On Wed, 2015-04-01 at 15:39 +0100, Will Deacon wrote:
>
> However, once we have that, we run into the same problem that we've got
> with the current pgsize_bitmap. Namely, that it needs to be a per-domain
> property to avoid it changing dynamically following an initial map request
> or a probe of a new IOMMU device.
That's not so much of a problem, surely? When adding devices to a new
domain without any mappings, the minimum page size of the domain is the
largest of all the IOMMUs participating in that domain.
And if you try to add new devices after you've already started making
mappings, we refuse the addition if it would raise the minimum page size
higher than the page sizes you're already using.
In VT-d we already have very similar logic for superpage and snooping
support.
--
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/a29d5818/attachment-0001.bin>
More information about the linux-arm-kernel
mailing list