[virtio-dev] Re: [PATCH v3 1/2] content: Explain better the status clearing bits

2021-11-12 Thread Eugenio Perez Martin
On Fri, Nov 12, 2021 at 11:35 AM Cornelia Huck wrote: > > On Thu, Nov 11 2021, Eugenio Pérez wrote: > > > The spec tells that "The driver MUST NOT clear a device status bit", but > > a device using PCI transport reset a virtio device writing 0 to device > > I think MMIO uses that mechanism as wel

[virtio-dev] Re: [PATCH v3 1/2] content: Explain better the status clearing bits

2021-11-12 Thread Eugenio Perez Martin
On Fri, Nov 12, 2021 at 4:46 AM Jason Wang wrote: > > On Fri, Nov 12, 2021 at 2:59 AM Eugenio Pérez wrote: > > > > The spec tells that "The driver MUST NOT clear a device status bit", but > > a device using PCI transport reset a virtio device writing 0 to device > > status. In some way, that is t

[virtio-dev] Re: [PATCH v3 1/2] content: Explain better the status clearing bits

2021-11-12 Thread Cornelia Huck
On Thu, Nov 11 2021, Eugenio Pérez wrote: > The spec tells that "The driver MUST NOT clear a device status bit", but > a device using PCI transport reset a virtio device writing 0 to device I think MMIO uses that mechanism as well? > status. In some way, that is to clear all its bits. > > Inste

[virtio-dev] Re: [PATCH v3 1/2] content: Explain better the status clearing bits

2021-11-11 Thread Jason Wang
On Fri, Nov 12, 2021 at 2:59 AM Eugenio Pérez wrote: > > The spec tells that "The driver MUST NOT clear a device status bit", but > a device using PCI transport reset a virtio device writing 0 to device > status. In some way, that is to clear all its bits. > > Instead of add an exception, tell exp