[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220519083401.ynmjdihi4hnjahlg@sgarzare-redhat>
Date: Thu, 19 May 2022 10:34:01 +0200
From: Stefano Garzarella <sgarzare@...hat.com>
To: Jason Wang <jasowang@...hat.com>
Cc: mst@...hat.com, virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
peterz@...radead.org, paulmck@...nel.org, maz@...nel.org,
pasic@...ux.ibm.com, cohuck@...hat.com, eperezma@...hat.com,
lulu@...hat.com, xuanzhuo@...ux.alibaba.com,
Vineeth Vijayan <vneethv@...ux.ibm.com>,
Peter Oberparleiter <oberpar@...ux.ibm.com>,
linux-s390@...r.kernel.org
Subject: Re: [PATCH V5 3/9] virtio: introduce config op to synchronize vring
callbacks
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 <tglx@...utronix.de>
>Cc: Peter Zijlstra <peterz@...radead.org>
>Cc: "Paul E. McKenney" <paulmck@...nel.org>
>Cc: Marc Zyngier <maz@...nel.org>
>Cc: Halil Pasic <pasic@...ux.ibm.com>
>Cc: Cornelia Huck <cohuck@...hat.com>
>Cc: Vineeth Vijayan <vneethv@...ux.ibm.com>
>Cc: Peter Oberparleiter <oberpar@...ux.ibm.com>
>Cc: linux-s390@...r.kernel.org
>Reviewed-by: Cornelia Huck <cohuck@...hat.com>
>Signed-off-by: Jason Wang <jasowang@...hat.com>
>---
> include/linux/virtio_config.h | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
Reviewed-by: Stefano Garzarella <sgarzare@...hat.com>
Powered by blists - more mailing lists