qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] d54fdd: xhci: only update dequeue ptr on comp


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d54fdd: xhci: only update dequeue ptr on completed transfe...
Date: Mon, 19 Jun 2017 10:29:56 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d54fddea989ba4aa2912d49583d86ce01c0d27ea
      
https://github.com/qemu/qemu/commit/d54fddea989ba4aa2912d49583d86ce01c0d27ea
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

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

  Log Message:
  -----------
  xhci: only update dequeue ptr on completed transfers

The dequeue pointer should only be updated in case the transfer
is actually completed.  If we update it for inflight transfers
we will not pick them up again after migration, which easily
triggers with HID devices as they typically have a pending
transfer, waiting for user input to happen.

Fixes: 243afe858b95765b98d16a1f0dd50dca262858ad
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1451631
Signed-off-by: Gerd Hoffmann <address@hidden>
Tested-by: Laurent Vivier <address@hidden>
Message-id: address@hidden


  Commit: ad3c5412f2704672bb212bb82035c9b1a72db782
      
https://github.com/qemu/qemu/commit/ad3c5412f2704672bb212bb82035c9b1a72db782
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-ehci.h

  Log Message:
  -----------
  ehci: stop recursive calls to ehci_work_bh

Can happen with usb-storage devices: ehci_work_bh calls usb-storage,
usb-storage calls into block layer, block layer may run BHs.

Add a simple bool and just do nothing in case we figure ehci_work_bh is
active.

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


  Commit: cef8fd68364ad754d4f0050a215376cdf0ec744a
      
https://github.com/qemu/qemu/commit/cef8fd68364ad754d4f0050a215376cdf0ec744a
  Author: Peter Maydell <address@hidden>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

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

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

usb: bugfixes for ehci and xhci

# gpg: Signature made Wed 14 Jun 2017 08:44:01 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-20170614-1:
  ehci: stop recursive calls to ehci_work_bh
  xhci: only update dequeue ptr on completed transfers

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


Compare: https://github.com/qemu/qemu/compare/a1fbe750fd90...cef8fd68364a

reply via email to

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