« Previous | Next » 

Revision e654887f


Added by Gerd Hoffmann about 10 years ago

usb-ehci: itd handling fixes.

This patch fixes a bunch of issues in the itd descriptor handling.
Most important fix is to handle transfers which cross page borders
correctly by looking up the address of the next page. Luckily the
linux uses physically contigous memory so the data used to hits the
correct location even with this bug instead of corrupting guest
memory. Also the transfer length updates for outgoing transfers wasn't

While being at it DPRINTFs have been replaced by tracepoints.

The isoch_pause logic has been disabled. Not clear to me which propose
this serves and I think it is incorrect too as we just skip processing
itds. Even when no xfer happens we have to clear the active bit.

Signed-off-by: Gerd Hoffmann <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences