Star64_linux/drivers/vdpa
Maxime Coquelin 9837e26077 vduse: Use proper spinlock for IRQ injection
[ Upstream commit 7ca26efb09 ]

The IRQ injection work used spin_lock_irq() to protect the
scheduling of the softirq, but spin_lock_bh() should be
used.

With spin_lock_irq(), we noticed delay of more than 6
seconds between the time a NAPI polling work is scheduled
and the time it is executed.

Fixes: c8a6153b6c ("vduse: Introduce VDUSE - vDPA Device in Userspace")
Cc: xieyongji@bytedance.com

Suggested-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Message-Id: <20230705114505.63274-1-maxime.coquelin@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-28 23:27:00 +08:00
..
ifcvf vdpa/ifcvf: fix the calculation of queuepair 2023-04-19 17:54:12 +08:00
mlx5 vdpa/mlx5: Initialize CVQ vringh only once 2023-04-19 17:51:23 +08:00
vdpa_sim vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready 2023-04-19 18:00:50 +08:00
vdpa_user vduse: Use proper spinlock for IRQ injection 2023-08-28 23:27:00 +08:00
virtio_pci vdpa: fix use-after-free on vp_vdpa_remove 2023-04-19 17:46:11 +08:00
Kconfig
Makefile
vdpa.c vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit 2023-04-19 17:50:16 +08:00