aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-12-14 14:35:36 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-07 12:57:24 +0100
commitf8f48b6957bf182339495e6be429f7bdc7ef1981 (patch)
tree8f09809afca279cc51815be2aad096edce6c77b2 /notify.c
parent475443cf14d7ef01b9ea56eed8657804f7bdf664 (diff)
downloadqemu-f8f48b6957bf182339495e6be429f7bdc7ef1981.zip
qemu-f8f48b6957bf182339495e6be429f7bdc7ef1981.tar.gz
qemu-f8f48b6957bf182339495e6be429f7bdc7ef1981.tar.bz2
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>
Diffstat (limited to 'notify.c')
0 files changed, 0 insertions, 0 deletions