]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
xhci: emulate intr endpoint intervals correctly
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 28 Aug 2013 09:38:44 +0000 (11:38 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 20:33:02 +0000 (15:33 -0500)
commitdc6fbaa8322ca53f46d9a6cc7e2f82de5362ea83
tree109988c1b171bb166ac56f9e04aa6927c2bc5a59
parentc8adc0db7e76e804692372a06ca02cc5a80b67d5
xhci: emulate intr endpoint intervals correctly

Respect the interval for interrupt endpoints, so we don't finish
transfers as fast as possible but at the rate configured by the guest.

Fixes guest deadlocks triggered by interrupt storms.

Cc:
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 4d7a81c06f5f17e019a2d3a18300500bd64f6f40)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/hcd-xhci.c