Re: [PATCH v2] virtio-mmio: Specify wait needed in driver during reset

From
Srivatsa Vaddagiri <>
Date
2021-08-16T04:57:27+00:00
ID
Thread
Re: [PATCH v2] virtio-mmio: Specify wait needed in driver during reset
* Jason Wang <> [2021-08-16 10:10:56]:

> > +After writing 0 to \field{Status}, which triggers a reset of device, the driver MUST wait for a read of
> > +\field{Status} to return 0 before proceeding with the remaining steps of initializing the device.
> > +
> 
> Do we need to limit this behaviour to 0x3 only?

I felt it will be simple for drivers to unconditionally poll for reset
completion (which is the right thing to do IMO), but can make it conditional to
version 3 only if you say so.

- vatsa

---

Qualcomm Innovation Center, Inc. is submitting the attached "feedback" as a
non-member to the virtio-dev mailing list for consideration and inclusion.