Patchwork ehci: Improve detection of invalid entries in the async schedule

login
register
mail settings
Submitter David S. Ahern
Date April 25, 2010, 5:48 p.m.
Message ID <1272217710-28120-1-git-send-email-daahern@cisco.com>
Download mbox | patch
Permalink /patch/50946/
State New
Headers show

Comments

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:


David

Patch

--- 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) {