]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vdpa: Add eventfd for the vdpa callback
authorXie Yongji <xieyongji@bytedance.com>
Thu, 23 Mar 2023 05:30:40 +0000 (13:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:06 +0000 (15:11 +0200)
commit4d10104d987ae1a1d277111fef1c7244dc9a19d2
treece6b20070f385202ee79065c407d56a3c6179466
parentb22db5572fcc3f71f5f83dd79a55c87580131b0c
vdpa: Add eventfd for the vdpa callback

[ Upstream commit 5e68470f4e80a4120e9ecec408f6ab4ad386bd4a ]

Add eventfd for the vdpa callback so that user
can signal it directly instead of triggering the
callback. It will be used for vhost-vdpa case.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Message-Id: <20230323053043.35-9-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Stable-dep-of: 02e9e9366fef ("vhost_vdpa: assign irq bypass producer token correctly")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/vhost/vdpa.c
drivers/virtio/virtio_vdpa.c
include/linux/vdpa.h