Searched hist:"66 a08cbe6ad1aebec8eecf58b3ba042e19dd1649" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/usb/ |
H A D | hcd-uhci.c | diff 66a08cbe6ad1aebec8eecf58b3ba042e19dd1649 Wed Oct 24 11:31:15 CDT 2012 Hans de Goede <hdegoede@redhat.com> uhci: Verify queue has not been changed by guest
According to the spec a guest can unlink a qh, and then as soon as frindex has changed by 1 since the unlink, assume it is idle and re-use it. However for various reasons, we cannot simply consider a qh as unlinked if we've not seen it for 1 frame. This means that it is possible for a guest to re-use / restart the queue while we still see its old state. This patch adds a safety check for this, and "early" retires queues when they were changed by the guest.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
/openbmc/qemu/ |
H A D | trace-events | diff 66a08cbe6ad1aebec8eecf58b3ba042e19dd1649 Wed Oct 24 11:31:15 CDT 2012 Hans de Goede <hdegoede@redhat.com> uhci: Verify queue has not been changed by guest
According to the spec a guest can unlink a qh, and then as soon as frindex has changed by 1 since the unlink, assume it is idle and re-use it. However for various reasons, we cannot simply consider a qh as unlinked if we've not seen it for 1 frame. This means that it is possible for a guest to re-use / restart the queue while we still see its old state. This patch adds a safety check for this, and "early" retires queues when they were changed by the guest.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|