Re: [Qemu-devel] [PATCH] ehci: fix overflow in frame timer code

2017-05-15 Thread Philippe Mathieu-Daudé
Hi Gerd, 李林, On 05/15/2017 07:45 AM, Gerd Hoffmann wrote: In case the frame timer doesn't run for a while due to the host being busy skipped_uframes can become big enough that UFRAME_TIMER_NS * skipped_uframes overflows. Which in turn throws off all subsequent ehci frame timer calculations. Re

[Qemu-devel] [PATCH] ehci: fix overflow in frame timer code

2017-05-15 Thread Gerd Hoffmann
In case the frame timer doesn't run for a while due to the host being busy skipped_uframes can become big enough that UFRAME_TIMER_NS * skipped_uframes overflows. Which in turn throws off all subsequent ehci frame timer calculations. Reported-by: 李林 <8610...@163.com> Signed-off-by: Gerd Hoffmann