Thread (1 message) 1 message, 1 author, 2018-02-22

Re: [PATCH 03/37] iommu/sva: Manage process address spaces

From: Jean-Philippe Brucker <hidden>
Date: 2018-02-22 13:17:32
Also in: kvm, linux-acpi, linux-arm-kernel, linux-iommu, linux-pci

On 22/02/18 09:03, Yisheng Xie wrote:
[...]
quoted
+		/* Is it already bound to this device? */
+		list_for_each_entry(tmp, &io_mm->devices, mm_head) {
+			if (tmp->dev != dev)
+				continue;
+
+			bond = tmp;
+			refcount_inc(&bond->refs);
+			io_mm_put_locked(io_mm);
Should io_mm->pasid still be set to *pasid when the device already bond? so driver can
always get the right pasid if it bond to a mm multi-times, without keeping the pasid itself?
(Assuming you mean set *pasid = io_mm->pasid) I think it should, I seem to
have removed it by accident from this version

Thanks,
Jean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help