WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix improper process of updating TD status field

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix improper process of updating TD status field
From: "Huang, Xinmei" <xinmei.huang@xxxxxxxxx>
Date: Wed, 24 Jan 2007 17:02:53 +0800
Delivery-date: Wed, 24 Jan 2007 01:03:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc/lm7HEvW01u5OTkShFT7qnwZx0w==
Thread-topic: [PATCH] Fix improper process of updating TD status field
This patch adds codes to clear TD status field explicitly when it's
fetched. 

In current Qemu-dm, UHC will set some status bits of TD in status
updating stage, but never process the status bit if relevant condition
does not occur, leaving it as it is. 
When a TD is fetched with some status bits are set to 1, it will return
to Guest OS with these bits set to 1 even this TD is executed
successfully. Some Windows OS, e.g. Windows 2000, will check status bits
of TD in UHC interrupt routine, treat it as a unsuccessful one if some
status bits are set to 1 and discard the data. Other Windows OS just
check USBSTS of UHC, ignoring status field of TD unless the value of
USBSTS indicates occurrence of error.

With this patch, USB mouse/tablet in Windows 2000 would work normally.

Signed-off-by: Xinmei Huang   <xinmei.huang@xxxxxxxxx>

Attachment: usb_win2k.patch
Description: usb_win2k.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix improper process of updating TD status field, Huang, Xinmei <=