• Transaction lifetime was originally set to 10 frames. That was an arbitrary
    number I picked without much thinking :).
    I'm changing that to 32 frames because things like interrupt transfers
    and such are scheduled at that rate. It seems like 1/32 is accepted as
    lowest supported rate. OHCI, for example, defines exactly 32 interrupt
    heads.
    
    While testing USB webcam under XP I noticed that interrupt transactions were
    being canceled and then resubmitted on a regular basis, which works but is a
    waste of CPU cycles. This change fixes that.
    All other devices I have are not affected.
    
    Signed-off-by: Max Krasnyansky <maxk@kernel.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5199 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Dir »








  • While trying to make VX-3000 camera work on XP under KVM I realized that
    we do not necessarily have to find original TD address. All we care about
    is the token which identifies the transfer rather well (direction, endpoint,
    size, etc).
    This is especially important for the isochronous transfers because otherwise
    they are being canceled left and right and we do not make much progress.
    
    With this patch all devices that used bulk transfers that I've tried so
    far continue to work just as well. And now my USB web cammera (isoc transfers)
    is working well tool. It's not as smooth as native Windows but it's pretty
    darn smooth.
    
    The cool thing is that new USB code (both usb-uhci and usb-linux) is totaly
    generic and does not need any special logic for ISOC.
    
    Signed-off-by: Max Krasnyansky <maxk@kernel.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5072 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • Fixes regression reported agains Linux 2.6.18.
    Looks like XP and newer Linux kernels are less sensitive
    to length returned for control transfers.
    
    Signed-off-by: Max Krasnyansky <maxk@kernel.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5070 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • Some bugs on SH4 MMU are fixed.
    
    - When a TLB entry is overwritten or invalidated, tlb_flush_page() should be
      invoked to invalidate old entry.
    - When a ASID is changed, tlb_flush() should be invoke to invalidate entries
      which have old ASID.
    - The check for shared bit in TLB entry causes multiple TLB hit exception.
      As SH3's MMU, shared bit is ignored.
    - ASID is used when MMUCR's SV bit or SR's MD bit is zero.
      No need to check both bits are zero.
    
    (Shin-ichiro KAWASAKI)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5068 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • SH4 MMU's memory mapped TLB feature is implemented.
    SH-Linux seems to write to memory mapped TLB to invalidate a TLB entry,
    but does not to read it. So only memory write feature is implemented.
    Work on memory read feature is left.
    
    (Shin-ichiro KAWASAKI)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5067 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Dir »
  • (Jindrich Makovicka)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5064 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • The direction bit in the control register should not be directly
    
    set using PPWCONTROL. The kernel gives the following debug message.
    
        parport0 (ppdev0): use data_reverse for this!
    
    More over setting the data pins to forward mode does not work,
    perhaps a bug in the Linux PP driver. The right way to do this is
    to use PPDATADIR to set the direction. The patch checks if the
    user is toggling the direction bit, and invokes PPDATADIR to
    do the job.
    
    Signed-off-by: Vijay Kumar B <vijaykumar@bravegnu.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5063 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Dir »