On Wed, May 18, 2022 at 11:59:45AM +0800, Jason Wang wrote:
This patch introduces new virtio config op to vring
callbacks. Transport specific method is required to make sure the
write before this function is visible to the vring_interrupt() that is
called after the return of this function. For the transport that
doesn't provide synchronize_vqs(), use synchornize_rcu() which
synchronize with IRQ implicitly as a fallback.
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: "Paul E. McKenney" <paul...@kernel.org>
Cc: Marc Zyngier <m...@kernel.org>
Cc: Halil Pasic <pa...@linux.ibm.com>
Cc: Cornelia Huck <coh...@redhat.com>
Cc: Vineeth Vijayan <vnee...@linux.ibm.com>
Cc: Peter Oberparleiter <ober...@linux.ibm.com>
Cc: linux-s...@vger.kernel.org
Reviewed-by: Cornelia Huck <coh...@redhat.com>
Signed-off-by: Jason Wang <jasow...@redhat.com>
---
include/linux/virtio_config.h | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Reviewed-by: Stefano Garzarella <sgarz...@redhat.com>
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization