qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b66ad1: xhci: Fix remainder field for TR_SETU


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b66ad1: xhci: Fix remainder field for TR_SETUP completion ...
Date: Thu, 15 Sep 2016 08:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b66ad1f1aa4dba4e8e242ad8339dd01f4ee77c5e
      
https://github.com/qemu/qemu/commit/b66ad1f1aa4dba4e8e242ad8339dd01f4ee77c5e
  Author: Hans Petter Selasky <address@hidden>
  Date:   2016-09-13 (Tue, 13 Sep 2016)

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

  Log Message:
  -----------
  xhci: Fix remainder field for TR_SETUP completion event.

Previously the code would incorrectly report the remainder as 8 bytes. A
remainder of 0 bytes should be reported when the SETUP packet is
successfully transferred. Found using FreeBSD's XHCI driver.

Signed-off-by: Hans Petter Selasky <address@hidden>

[ kraxel: codestyle fixup ]

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


  Commit: 6a71123469e0c9286354c6655440da51566c1763
      
https://github.com/qemu/qemu/commit/6a71123469e0c9286354c6655440da51566c1763
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-09-13 (Tue, 13 Sep 2016)

  Changed paths:
    M hw/usb/host-libusb.c

  Log Message:
  -----------
  usb-host: fix streams detection in usb_host_speed_compat

The companion descriptor is present on all usb3 devices, not only
those with streams support.  We need to check attributes to see
whenever the device uses streams or not.

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


  Commit: b53dd4495ced2432a0b652ea895e651d07336f7e
      
https://github.com/qemu/qemu/commit/b53dd4495ced2432a0b652ea895e651d07336f7e
  Author: Li Qiang <address@hidden>
  Date:   2016-09-13 (Tue, 13 Sep 2016)

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

  Log Message:
  -----------
  usb:xhci:fix memory leak in usb_xhci_exit

If the xhci uses msix, it doesn't free the corresponding
memory, thus leading a memory leak. This patch avoid this.

Signed-off-by: Li Qiang <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 8a5865f331028e66b4ed233129d7a914c2d5bfc7
      
https://github.com/qemu/qemu/commit/8a5865f331028e66b4ed233129d7a914c2d5bfc7
  Author: Isaac Lozano <address@hidden>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M hw/usb/dev-mtp.c

  Log Message:
  -----------
  usb-mtp: fix sending files larger than 4gb

MTP requires that if a file is larger than 4gb or if sending data larger
than 4gb, that the length field be set to 0xFFFFFFFF.

Also widened a couple variables to prevent overflow errors.

Signed-off-by: Isaac Lozano <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 67f3ef0c7a149a4e92b877375f771e065ae58651
      
https://github.com/qemu/qemu/commit/67f3ef0c7a149a4e92b877375f771e065ae58651
  Author: Isaac Lozano <address@hidden>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M hw/usb/dev-mtp.c

  Log Message:
  -----------
  usb-mtp: added object properties

Windows uses object properties to determine the size of a file, so to
add object properties, we must also add a minimum set of new commands
and object properties. Most object properties are data that we already
have, except for the unique persistant object identifier. Windows
doesn't use this property, it seems, so we can cheat a bit and just use
the object handle for it.

Signed-off-by: Isaac Lozano <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9f16390cd3cdd85fa20739f07120f4d697c11837
      
https://github.com/qemu/qemu/commit/9f16390cd3cdd85fa20739f07120f4d697c11837
  Author: Peter Maydell <address@hidden>
  Date:   2016-09-15 (Thu, 15 Sep 2016)

  Changed paths:
    M hw/usb/dev-mtp.c
    M hw/usb/hcd-xhci.c
    M hw/usb/host-libusb.c

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

usb-mtp: add support for files larger than 4g (gsoc)
xhci & usb-host: bugfixes.

# gpg: Signature made Wed 14 Sep 2016 10:30:38 BST
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/pull-usb-20160914-1:
  usb-mtp: added object properties
  usb-mtp: fix sending files larger than 4gb
  usb:xhci:fix memory leak in usb_xhci_exit
  usb-host: fix streams detection in usb_host_speed_compat
  xhci: Fix remainder field for TR_SETUP completion event.

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


Compare: https://github.com/qemu/qemu/compare/d1eb8f2acba5...9f16390cd3cd

reply via email to

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