OASIS Virtual I/O Device (VIRTIO) TC

 View Only
  • 1.  [PATCH] mmio: Move QueueReady register from offset 0x03c to 0x044

    Posted 01-03-2014 18:09
    Legacy devices have QueueAlign register at 0x03c. To stay on the safe side and avoid any potential clashes (also to be able to abort any wrong writes), move it to previously unused offset 0x044. Signed-off-by: Pawel Moll <pawel.moll@arm.com> --- content.tex 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.tex b/content.tex index 7091bf4..f71ccb7 100644 --- a/content.tex +++ b/content.tex @@ -1500,7 +1500,7 @@ All register values are organized as Little Endian. the queue is in use (so when QueueReady is not zero). } hline - mmioreg{QueueReady}{Virtual queue ready bit}{0x03c}{RW}{% + mmioreg{QueueReady}{Virtual queue ready bit}{0x044}{RW}{% Writing one (0x1) to this register notifies the device that the virtual queue is ready to be used. Reading from this register returns the last value written to it. Both read and write -- 1.8.3.2


  • 2.  Re: [virtio] [PATCH] mmio: Move QueueReady register from offset 0x03c to 0x044

    Posted 01-19-2014 21:51
    Pawel Moll <pawel.moll@arm.com> writes: > Legacy devices have QueueAlign register at 0x03c. To stay > on the safe side and avoid any potential clashes (also to > be able to abort any wrong writes), move it to previously > unused offset 0x044. > > Signed-off-by: Pawel Moll <pawel.moll@arm.com> This makes sense. I see it's now VIRTIO-51, will be raised next meeting. Thanks, Rusty.