ehci: Improve detection of invalid entries in the async schedule

Message ID
State New
Headers show

Commit Message

David S. Ahern April 25, 2010, 5:48 p.m.
Hi Jan:

Another patch for the ehci branch - emptying out my patch queue as I need to set this aside for a while. 

I am testing qemu and qemu-kvm with 3 different USB keys -- all Kingstons of various sizes 1 GB, 4GB and 8GB. I am definitely seeing different behaviors with the 4GB and 8GB working really well. With the 4GB key I am seeing data rates of 5MB/sec with qemu and close to 8MB/sec with kvm. The 1 GB key hits hiccups from time to time. 

If you see the stall enable debugging in usb-linux:



--- a/usb-linux.c
+++ b/usb-linux.c
@@ -243,7 +243,7 @@  static void async_complete(void *opaque)
         p = aurb->packet;
-        DPRINTF("husb: async completed. aurb %p status %d alen %d\n",
+        printf("husb: async completed. aurb %p status %d alen %d\n",
                 aurb, aurb->urb.status, aurb->urb.actual_length);
         if (p) {