Uploaded image for project: 'OASIS Virtual I/O Device (VIRTIO) TC'
  1. OASIS Virtual I/O Device (VIRTIO) TC
  2. VIRTIO-117

ccw: provide status accessor for driver

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: virtio 1.0 csprd01, virtio 1.0 csprd02, virtio 1.0 csprd03, virtio 1.0 cs01, virtio 1.0 cs02, virtio 1.0 cs03, virtio 1.0 cs04
    • Fix Version/s: virtio 1.1 cs01
    • Labels:
      None
    • Environment:

      Cornelia Huck <cornelia.huck@de.ibm.com>

    • Proposal:
      Hide

      Provide a new command READ_STATUS allowing the driver to retrieve the device status. Provide this command when revision 2 has been negotiated.

      Proposed patch:
      https://lists.oasis-open.org/archives/virtio/201509/msg00001.html

      Updated proposal:
      https://lists.oasis-open.org/archives/virtio/201510/msg00022.html

      Show
      Provide a new command READ_STATUS allowing the driver to retrieve the device status. Provide this command when revision 2 has been negotiated. Proposed patch: https://lists.oasis-open.org/archives/virtio/201509/msg00001.html Updated proposal: https://lists.oasis-open.org/archives/virtio/201510/msg00022.html
    • Resolution:
      Hide

      ccw: add CCW_CMD_READ_STATUS

      ccw currently allows the driver to update the status via the
      CCW_CMD_WRITE_STATUS command; however, it does not allow the driver to
      retrieve the current status at the device, which is needed to properly
      support DEVICE_NEEDS_RESET.

      Therefore, provide a new command CCW_CMD_READ_STATUS allowing the driver
      to retrieve the device status. Provide this command when revision 2 has
      been negotiated.

      VIRTIO-117

      Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
      Message-Id: <1445243513-2263-2-git-send-email-cornelia.huck@de.ibm.com>

      git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/trunk@579 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652

      Show
      ccw: add CCW_CMD_READ_STATUS ccw currently allows the driver to update the status via the CCW_CMD_WRITE_STATUS command; however, it does not allow the driver to retrieve the current status at the device, which is needed to properly support DEVICE_NEEDS_RESET. Therefore, provide a new command CCW_CMD_READ_STATUS allowing the driver to retrieve the device status. Provide this command when revision 2 has been negotiated. VIRTIO-117 Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Message-Id: <1445243513-2263-2-git-send-email-cornelia.huck@de.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/trunk@579 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652

      Description

      ccw currently allows the driver to update the status via WRITE_STATUS; however, it does not allow the driver to retrieve the current status at the device.

        Attachments

          Activity

            People

            • Assignee:
              cornelia.huck Cornelia Huck (Inactive)
              Reporter:
              cornelia.huck Cornelia Huck (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: