Re: [PATCH V2 3/5] virtio: introduce config op to synchronize vring callbacks

2022-04-07 Thread Jason Wang
在 2022/4/6 下午7:59, Michael S. Tsirkin 写道: On Wed, Apr 06, 2022 at 04:35:36PM +0800, Jason Wang wrote: This patch introduce introduces a new new virtio config ops to vring callbacks. Transport specific method is required to call synchornize_irq() on the IRQs. For the transport that

Re: [PATCH V2 3/5] virtio: introduce config op to synchronize vring callbacks

2022-04-06 Thread Michael S. Tsirkin
On Wed, Apr 06, 2022 at 04:35:36PM +0800, Jason Wang wrote: > This patch introduce introduces > a new new > virtio config ops to vring > callbacks. Transport specific method is required to call > synchornize_irq() on the IRQs. For the transport that doesn't provide > synchronize_vqs(), use

[PATCH V2 3/5] virtio: introduce config op to synchronize vring callbacks

2022-04-06 Thread Jason Wang
This patch introduce a new virtio config ops to vring callbacks. Transport specific method is required to call synchornize_irq() on the IRQs. For the transport that doesn't provide synchronize_vqs(), use synchornize_rcu() as a fallback. Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: "Paul E.