[virtio-dev] Re: [PATCH V9] virtio-gpio: Add support for interrupts

2021-10-14 Thread Cornelia Huck
On Tue, Oct 12 2021, Viresh Kumar wrote: > This patch adds support for interrupts to the virtio-gpio specification. > This uses the feature bit 0 for the same. > > Fixes: https://github.com/oasis-tcs/virtio-spec/issues/114 > Cc: Marc Zyngier > Cc: Thomas Gleixner > Reviewed-by: Linus Walleij >

[virtio-dev] Re: [PATCH V9] virtio-gpio: Add support for interrupts

2021-10-14 Thread Viresh Kumar
On 14-10-21, 12:12, Cornelia Huck wrote: > What triggers the device to configure the GPIO lines in that state? Is > that something that it should already do when it decides to offer the > feature bit? Yes, it should be the state before negotiations start. -- viresh -

[virtio-dev] Re: [PATCH V9] virtio-gpio: Add support for interrupts

2021-10-14 Thread Cornelia Huck
On Thu, Oct 14 2021, Viresh Kumar wrote: > On 14-10-21, 12:12, Cornelia Huck wrote: >> What triggers the device to configure the GPIO lines in that state? Is >> that something that it should already do when it decides to offer the >> feature bit? > > Yes, it should be the state before negotiation

[virtio-dev] [PATCH V10] virtio-gpio: Add support for interrupts

2021-10-14 Thread Viresh Kumar
This patch adds support for interrupts to the virtio-gpio specification. This uses the feature bit 0 for the same. Fixes: https://github.com/oasis-tcs/virtio-spec/issues/114 Cc: Marc Zyngier Cc: Thomas Gleixner Reviewed-by: Linus Walleij Signed-off-by: Viresh Kumar --- V9 -> V10: - Mandatory f

Re: [virtio-dev] Fwd: [PATCH v2] Provide detailed specification of virtio-blk lifetime metrics

2021-10-14 Thread Cornelia Huck
On Wed, Oct 06 2021, Enrico Granata wrote: > I would very much favor that - thanks for bringing this thread back to > attention Merged now, thank you for your patience. - To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.o

[virtio-dev] Re: [PATCH v6] virtio-pmem: PMEM device spec

2021-10-14 Thread Cornelia Huck
On Wed, Oct 06 2021, Pankaj Gupta wrote: > Posting virtio specification for virtio pmem device. Virtio pmem is a > paravirtualized device which allows the guest to bypass page cache. > Virtio pmem kernel driver is merged in Upstream Kernel 5.3. Also, Qemu > device is merged in Qemu 4.1. > > Revie

[virtio-dev] RE: [PATCH v2] Add device reset timeout field

2021-10-14 Thread Parav Pandit
Hi Michael, Cornelia, > From: Parav Pandit > Sent: Tuesday, October 12, 2021 2:42 PM > > > From: Michael S. Tsirkin > > Sent: Tuesday, October 12, 2021 2:32 PM > > > > On Tue, Oct 12, 2021 at 08:51:34AM +, Parav Pandit wrote: > > > > > > > > > > From: Michael S. Tsirkin > > > > Sent: Mon

[virtio-dev] Re: [PATCH v2] Add device reset timeout field

2021-10-14 Thread Michael S. Tsirkin
On Thu, Oct 14, 2021 at 05:35:37PM +, Parav Pandit wrote: > Hi Michael, Cornelia, > > > From: Parav Pandit > > Sent: Tuesday, October 12, 2021 2:42 PM > > > > > From: Michael S. Tsirkin > > > Sent: Tuesday, October 12, 2021 2:32 PM > > > > > > On Tue, Oct 12, 2021 at 08:51:34AM +, Parav

Re: [virtio-dev] Fwd: [PATCH v2] Provide detailed specification of virtio-blk lifetime metrics

2021-10-14 Thread Enrico Granata
Excellent thank you. I will send out an up-to-date kernel patch once I am back from my current leave (ETA within November) Thanks, - Enrico On Thu, Oct 14, 2021 at 9:37 AM Cornelia Huck wrote: > On Wed, Oct 06 2021, Enrico Granata wrote: > > > I would very much favor that - thanks for bringin

[virtio-dev] [PATCH v6 0/3] virtio: introduce VIRTIO_F_RING_RESET for reset queue

2021-10-14 Thread Xuan Zhuo
Hi All: This is a new version to support VIRTIO_F_RING_RESET. The feautre extends the basic facility to allow the driver to reset a virtqueue. This main motivation is to support the reset function of the queue of the network device. Please review. v6: The device MUST present consistent defaul

[virtio-dev] [PATCH v6 1/3] virtio: introduce virtqueue reset as basic facility

2021-10-14 Thread Xuan Zhuo
This patch allows the driver to reset a queue individually. This is very common on general network equipment. By disabling a queue, you can quickly reclaim the buffer currently on the queue. If necessary, we can reinitialize the queue separately. For example, when virtio-net implements support fo

[virtio-dev] [PATCH v6 2/3] virtio: pci support virtqueue reset

2021-10-14 Thread Xuan Zhuo
PCI support virtqueue reset. virtio_pci_common_cfg add "queue_reset" to support virtqueue reset. The driver uses this to selectively reset the queue. Signed-off-by: Xuan Zhuo --- content.tex | 32 1 file changed, 32 insertions(+) diff --git a/content.tex b/cont

[virtio-dev] [PATCH v6 3/3] virtio: mmio support virtqueue reset

2021-10-14 Thread Xuan Zhuo
mmio support virtqueue reset. MMIO Device Register Layout "QueueReady" to support virtqueue reset. The driver uses this to selectively reset the queue. Signed-off-by: Xuan Zhuo --- content.tex | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/

[virtio-dev] Re: [PATCH v6] virtio-pmem: PMEM device spec

2021-10-14 Thread Pankaj Gupta
Hello Cornelia, > > Posting virtio specification for virtio pmem device. Virtio pmem is a > > paravirtualized device which allows the guest to bypass page cache. > > Virtio pmem kernel driver is merged in Upstream Kernel 5.3. Also, Qemu > > device is merged in Qemu 4.1. > > > > Reviewed-by: Stefan

Re: [virtio-dev] RE: [PATCH v2] Add device reset timeout field

2021-10-14 Thread Jason Wang
在 2021/10/15 下午12:36, Parav Pandit 写道: From: Michael S. Tsirkin Sent: Friday, October 15, 2021 3:59 AM On Thu, Oct 14, 2021 at 05:35:37PM +, Parav Pandit wrote: Hi Michael, Cornelia, From: Parav Pandit Sent: Tuesday, October 12, 2021 2:42 PM From: Michael S. Tsirkin Sent: Tuesday,

Re: [virtio-dev] RE: [PATCH v2] Add device reset timeout field

2021-10-14 Thread Jason Wang
在 2021/10/15 下午1:20, Parav Pandit 写道: From: Jason Wang Sent: Friday, October 15, 2021 10:46 AM 在 2021/10/15 下午12:36, Parav Pandit 写道: From: Michael S. Tsirkin Sent: Friday, October 15, 2021 3:59 AM On Thu, Oct 14, 2021 at 05:35:37PM +, Parav Pandit wrote: Hi Michael, Cornelia, Fr

Re: [virtio-dev] RE: [PATCH v2] Add device reset timeout field

2021-10-14 Thread Jason Wang
On Fri, Oct 15, 2021 at 1:20 PM Parav Pandit wrote: > > > > > From: Jason Wang > > Sent: Friday, October 15, 2021 10:46 AM > > > > > > 在 2021/10/15 下午12:36, Parav Pandit 写道: > > > > > >> From: Michael S. Tsirkin > > >> Sent: Friday, October 15, 2021 3:59 AM > > >> > > >> On Thu, Oct 14, 2021 at

[virtio-dev] RE: [PATCH v2] Add device reset timeout field

2021-10-14 Thread Cornelia Huck
On Fri, Oct 15 2021, Parav Pandit wrote: >> From: Michael S. Tsirkin >> Sent: Friday, October 15, 2021 3:59 AM >> >> On Thu, Oct 14, 2021 at 05:35:37PM +, Parav Pandit wrote: >> > Below changes are good for v3? >> > 1. driver should use device reset time during initialization stage >> >> H