The userspace driver? Yes. And It is a good thing to be explicitThat means the driver must be aware of the iommu.Force assigning to iommu before we allow any other operation?IMO this was because this driver does two things: programming iommu andHow do we enforce security then? We need to ensure that unprivileged
handling interrupts. uio does interrupt handling.
We could have moved iommu / DMA programming to
a separate driver, and have uio work with it.
This would solve limitation of the current driver
that is needs an iommu domain per device.
users can only use the device with an iommu.
there anyway, since this lets userspace map a non-contigious
virtual address list into a contiguous bus address range.