Re: [Qemu-devel] [PATCH] xhci: fix event queue IRQ handling

2017-02-09 Thread Gerd Hoffmann
On Fr, 2017-02-10 at 01:17 +0100, Martin Cerveny wrote: > Hello. > > Ok. Not more bugs. The problem was in qemu-xen-4.8 missing "usb-redir: > allocate buffers before waking up the host adapter" Ah cool. Thanks for the notice. cheers, Gerd

Re: [Qemu-devel] [PATCH] xhci: fix event queue IRQ handling

2017-02-09 Thread Martin Cerveny
Hello. Ok. Not more bugs. The problem was in qemu-xen-4.8 missing "usb-redir: allocate buffers before waking up the host adapter" Martin On Fri, 3 Feb 2017, Martin Cerveny wrote: Hello. Thanks for patch. I tested it. Good news, does not assert() :-) Bad news, not all works as expected (tra

Re: [Qemu-devel] [PATCH] xhci: fix event queue IRQ handling

2017-02-03 Thread Laszlo Ersek
trivial comments: On 02/03/17 07:51, Gerd Hoffmann wrote: > The qemu xhci emulation doesn't handle the ERDP_EHB flag correctly. > > When the host adapter queues a new event the ERDP_EHB flag is set. The > flag is cleared (via w1c) by the guest when it updates the ERDP (event > ring dequeue point

[Qemu-devel] [PATCH] xhci: fix event queue IRQ handling

2017-02-02 Thread Gerd Hoffmann
The qemu xhci emulation doesn't handle the ERDP_EHB flag correctly. When the host adapter queues a new event the ERDP_EHB flag is set. The flag is cleared (via w1c) by the guest when it updates the ERDP (event ring dequeue pointer) register to notify the host adapter which events it has fetched.