Thread (13 messages) 13 messages, 3 authors, 2023-03-31

Re: [PATCH v4 5/9] vringh: support VA with iotlb

flat view

From: Stefano Garzarella <sgarzare@redhat.com>
Date: 2023-03-31 07:47:13
Also in: kvm, lkml, virtualization

On Thu, Mar 30, 2023 at 03:02:21PM +0200, Simon Horman wrote:
On Fri, Mar 24, 2023 at 04:39:19PM +0100, Stefano Garzarella wrote:
quoted
vDPA supports the possibility to use user VA in the iotlb messages.
So, let's add support for user VA in vringh to use it in the vDPA
simulators.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
...
quoted
+/**
+ * vringh_init_iotlb_va - initialize a vringh for a ring with IOTLB containing
+ *                        user VA.
+ * @vrh: the vringh to initialize.
+ * @features: the feature bits for this ring.
+ * @num: the number of elements.
+ * @weak_barriers: true if we only need memory barriers, not I/O.
+ * @desc: the userpace descriptor pointer.
+ * @avail: the userpace avail pointer.
+ * @used: the userpace used pointer.
nit: s/userpace/userspace/
Oops, good catch!

Copy & past typos also present in the documentation of vringh_init_kern
and vringh_init_iotlb.

I will fix this patch and send a separate patch to fix the other two.

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