• Type: Sub-task
    • Resolution: Fixed
    • Priority: Major
    • virtio 1.0 csprd03
    • Affects Version/s: virtio 1.0 csprd01
    • None
    • Environment:

      Reported-by: Andrew Thornton <andrewth@google.com>

      4.1.2.1 Common Configuration structure layout

      device_status

      ​The spec states "​
      Writing 0 resets the device
      ​". H
      ow does the driver know when its complete. Proposal
      ​:​
      the resetting driver will poll this register for a non-zero value until the reset is complete after which DMA and interrupts will not occur.

      queue_size

      Is there a way to find the maximum queue size without resetting the whole device?

      queue_enable

      What happens to the state of the queue when queue_enable transitions from non-zero to zero?

      queue_desc/queue_avail/queue_used​

      Does a zero address indicate a disabled queue? This is how current devices work but spec clarification would be useful.

            Assignee:
            Rusty Russell (Inactive)
            Reporter:
            Rusty Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: