vdpa: add bind_mm/unbind_mm callbacks
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 4 Apr 2023 13:13:18 +0000 (15:13 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 21 Apr 2023 07:02:33 +0000 (03:02 -0400)
commitc618c84d4ccc6268c3da7609c7388b6cb305c639
tree36a3870ba50e3a0972aa8f312f91f7b30533dce0
parent905233af513c0c6971cae0f25280f23be1f6cbe4
vdpa: add bind_mm/unbind_mm callbacks

These new optional callbacks is used to bind/unbind the device to
a specific address space so the vDPA framework can use VA when
these callbacks are implemented.

Suggested-by: Jason Wang <jasowang@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20230404131326.44403-2-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/vdpa.h