summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2026-01-19 17:32:58 +0300
committerMichael S. Tsirkin <mst@redhat.com>2026-01-28 23:32:17 +0300
commit0d215afdc8199ef9702567778bbc781449f48e50 (patch)
tree581d771f335db8992be19df4e9b515eb6ba0a261 /include/linux
parent02e3f7ffe2906033da73b7c7ea8180b131d0cdbc (diff)
downloadlinux-0d215afdc8199ef9702567778bbc781449f48e50.tar.xz
vdpa: document set_group_asid thread safety
Document that the function races with the check of DRIVER_OK. Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20260119143306.1818855-6-eperezma@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/vdpa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h
index 4cf21d6e9cfd..2bfe3baa63f4 100644
--- a/include/linux/vdpa.h
+++ b/include/linux/vdpa.h
@@ -312,7 +312,9 @@ struct vdpa_map_file {
* @idx: virtqueue index
* Returns the affinity mask
* @set_group_asid: Set address space identifier for a
- * virtqueue group (optional)
+ * virtqueue group (optional). Caller must
+ * prevent this from being executed concurrently
+ * with set_status.
* @vdev: vdpa device
* @group: virtqueue group
* @asid: address space id for this group