OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-comment] device reset should entail QueuePFN reset (for all queues) on virtio-mmio


On 10/29/13 06:29, Rusty Russell wrote:
> Laszlo Ersek <lersek@redhat.com> writes:

>> So:
>> - What's the motivation for the "acquire/release" semantics of QueuePFN?
>> - Am I right that device reset should force a QueuePFN reset?
> 
> Hi Laszlo,
> 
>         The latching behaviour is basically a debugging helper, but
> clearly device reset should set it to 0.
> 
> For the v2 layout proposed for the spec, we have this:

Is there a public git repo for v2?

> 
> +* 0x03c | RW | QueueReady
> +  Virtual queue ready bit.
> +  Writing one (0x1) to this register notifies the Host that the
> +  virtual queue is ready to be used. Reading from this register
> +  returns the last value written to it. Both read and write
> +  accesses apply to the queue selected by writing to QueueSel.
> +  When the Guest wants to stop using the queue it must write
> +  zero (0x0) to this register and read the value back to
> +  ensure synchronisation.
> 
> I suggest we add:
> 
>    This register will be 0 on reset.

... "for all valid QueueSel values"?

Thanks!
Laszlo


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]