On 05/09/2018 14:23, Auger Eric wrote: >> + * If the driver intends to share process address spaces, it should pass a >> valid >> + * @mm_exit handler. Otherwise @mm_exit can be NULL. > I don't get case where mm_exit is allowed to be NULL.
Right, this comment is a bit premature. Next version adds a "private PASID" patch to allocate private address spaces per PASID (modifiable with map/unmap). That mode doesn't require mm_exit, and I can move the comment there Thanks, Jean _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu