Details

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

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

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              rusty Rusty Russell (Inactive)
              Reporter:
              rusty Rusty Russell (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: