From: Eugenio Pérez Date: Mon, 19 Jan 2026 14:32:58 +0000 (+0100) Subject: vdpa: document set_group_asid thread safety X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d215afdc8199ef9702567778bbc781449f48e50;p=thirdparty%2Flinux.git vdpa: document set_group_asid thread safety Document that the function races with the check of DRIVER_OK. Acked-by: Jason Wang Signed-off-by: Eugenio Pérez Signed-off-by: Michael S. Tsirkin Message-Id: <20260119143306.1818855-6-eperezma@redhat.com> --- diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h index 4cf21d6e9cfde..2bfe3baa63f42 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