xemu/hw/usb
Hans de Goede f8f48b6957 uhci: Limit amount of frames processed in one go
Before this patch uhci would process an unlimited amount of frames when
behind on schedule, by setting the timer to a time already past, causing the
timer subsys to immediately recall the frame_timer function gain.

This would cause invalid cancellations of bulk queues when the catching up
processed more then 32 frames at a moment when the bulk qh was temporarily
unlinked (which the Linux uhci driver does).

This patch fixes this by processing maximum 16 frames in one go, and always
setting the timer one ms later, making the code behave more like the ehci
code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-01-07 12:57:24 +01:00
..
bus.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
combined-packet.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
core.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
desc.c usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
desc.h usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-audio.c usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-bluetooth.c softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
dev-hid.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-hub.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00
dev-network.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
dev-serial.c softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
dev-smartcard-reader.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-storage.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
dev-uas.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-wacom.c ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
hcd-ehci-pci.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-ehci-sysbus.c ehci-sysbus: Attach DMA context. 2012-11-29 08:04:13 +01:00
hcd-ehci.c ehci: Don't call commit_irq after raising PCD 2013-01-07 12:57:23 +01:00
hcd-ehci.h ehci: Verify a queue's ep direction does not change 2013-01-07 12:57:23 +01:00
hcd-musb.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-ohci.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-uhci.c uhci: Limit amount of frames processed in one go 2013-01-07 12:57:24 +01:00
hcd-xhci.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
host-bsd.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
host-linux.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
host-stub.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
libhw.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
Makefile.objs usb: Add packet combining functions 2012-11-01 15:17:58 +01:00
redirect.c usb/redirect.c: unbreak compilation due to include/char/char.h 2012-12-28 16:09:33 +00:00