Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Eugenio Pérez and committed by
Michael S. Tsirkin
0d215afd 02e3f7ff

+3 -1
+3 -1
include/linux/vdpa.h
··· 312 312 * @idx: virtqueue index 313 313 * Returns the affinity mask 314 314 * @set_group_asid: Set address space identifier for a 315 - * virtqueue group (optional) 315 + * virtqueue group (optional). Caller must 316 + * prevent this from being executed concurrently 317 + * with set_status. 316 318 * @vdev: vdpa device 317 319 * @group: virtqueue group 318 320 * @asid: address space id for this group