[PATCH v2 04/40] iommu/sva: Add a mm_exit callback for device drivers

From
Jean-Philippe Brucker <hidden>
Date
2018-09-06 11:11:18
Also in
kvm, linux-acpi, linux-devicetree, linux-iommu, linux-mm, linux-pci
Reply to
Auger Eric, 2018-09-05
On 05/09/2018 14:23, Auger Eric wrote:
quoted
+ * 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
Thread (113 messages) 113 messages, 13 authors, last reply 2018-09-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help