ccw: provide status accessor for driver

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • virtio 1.1 cs01
    • 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
    • None
    • Environment:

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

    • 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
    • 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

      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.

            Assignee:
            Cornelia Huck (Inactive)
            Reporter:
            Cornelia Huck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: