qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] bd9397: usb: Remove magic constants from devi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bd9397: usb: Remove magic constants from device bmAttribut...
Date: Thu, 20 Feb 2014 08:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bd93976a1ad9cca9636da66dfde98a41e573130c
      
https://github.com/qemu/qemu/commit/bd93976a1ad9cca9636da66dfde98a41e573130c
  Author: Pantelis Koukousoulas <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/desc.c
    M hw/usb/dev-audio.c
    M hw/usb/dev-bluetooth.c
    M hw/usb/dev-hid.c
    M hw/usb/dev-hub.c
    M hw/usb/dev-network.c
    M hw/usb/dev-serial.c
    M hw/usb/dev-smartcard-reader.c
    M hw/usb/dev-storage.c
    M hw/usb/dev-uas.c
    M hw/usb/dev-wacom.c
    M include/hw/usb.h

  Log Message:
  -----------
  usb: Remove magic constants from device bmAttributes

Replace magic constants in device bmAttributes with symbolic ones
from Linux kernel ch9.h

Signed-off-by: Pantelis Koukousoulas <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: f6969b9fef543da1ffa975d24f4d7b75dc369b03
      
https://github.com/qemu/qemu/commit/f6969b9fef543da1ffa975d24f4d7b75dc369b03
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: fix overflow in usb_xhci_post_load

Found by Coverity.

Reported-by: Markus Armbruster <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c348e481759057c925cce4bf54336f1518b8c702
      
https://github.com/qemu/qemu/commit/c348e481759057c925cce4bf54336f1518b8c702
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/hcd-uhci.c

  Log Message:
  -----------
  uhci: invalidate queue on device address changes

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 786ad214c72226fa5bd4ebf18aeb4c6b54d3ba80
      
https://github.com/qemu/qemu/commit/786ad214c72226fa5bd4ebf18aeb4c6b54d3ba80
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci iso: fix time calculation

Frameid specifies frames not microframes, so we
need to shift it to get the microframe index.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: cc03ff9d0a147a399a11c9f513afa5e06ceee453
      
https://github.com/qemu/qemu/commit/cc03ff9d0a147a399a11c9f513afa5e06ceee453
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci iso: allow for some latency

Allow the scheduled transfer time be a bit behind, to
compensate for latencies.  Without this xhci will wait
way to often for the mfindex wraparound, assuming the
scheduled time is in the future just because qemu is
a bit behind in processing the iso transfer requests.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4f9cc7342281bfbbc1bfccc155c59551c06d63db
      
https://github.com/qemu/qemu/commit/4f9cc7342281bfbbc1bfccc155c59551c06d63db
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: switch debug printf to tracepoint

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d6bb65fcd24c8cb8c37ffe324c360f3b0c94b902
      
https://github.com/qemu/qemu/commit/d6bb65fcd24c8cb8c37ffe324c360f3b0c94b902
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: use DPRINTF() instead of fprintf(stderr, ...)

So we don't spam stderr with (guest-triggerable) messages by default.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2ca92bb993991d6dcb8f68751aca9fc2ec2b8867
      
https://github.com/qemu/qemu/commit/2ca92bb993991d6dcb8f68751aca9fc2ec2b8867
  Author: Peter Maydell <address@hidden>
  Date:   2014-02-20 (Thu, 20 Feb 2014)

  Changed paths:
    M hw/usb/desc.c
    M hw/usb/dev-audio.c
    M hw/usb/dev-bluetooth.c
    M hw/usb/dev-hid.c
    M hw/usb/dev-hub.c
    M hw/usb/dev-network.c
    M hw/usb/dev-serial.c
    M hw/usb/dev-smartcard-reader.c
    M hw/usb/dev-storage.c
    M hw/usb/dev-uas.c
    M hw/usb/dev-wacom.c
    M hw/usb/hcd-uhci.c
    M hw/usb/hcd-xhci.c
    M include/hw/usb.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-3' into staging

- xhci improvements and fixes.
- uhci bugfix.
- cleanups.

# gpg: Signature made Tue 18 Feb 2014 15:48:10 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-usb-3:
  xhci: use DPRINTF() instead of fprintf(stderr, ...)
  xhci: switch debug printf to tracepoint
  xhci iso: allow for some latency
  xhci iso: fix time calculation
  uhci: invalidate queue on device address changes
  xhci: fix overflow in usb_xhci_post_load
  usb: Remove magic constants from device bmAttributes

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/3d2bb5cc81ca...2ca92bb99399

reply via email to

[Prev in Thread] Current Thread [Next in Thread]