xhci: drop ER_FULL_HACK workaround
commit898248a32915024a4f01ce4f0c3519509fb703cb
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 6 Feb 2017 11:55:36 +0000 (6 12:55 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 21 Feb 2017 07:11:43 +0000 (21 08:11 +0100)
tree8aff9be2ac89cc94728c764a4e299cad1e28a78b
parentf89b60f6e5fee3923bedf80e82b4e5efc1bb156b
xhci: drop ER_FULL_HACK workaround

The nec/renesas driver problems have finally been debugged and root
caused, see commit "7da76e1 xhci: fix event queue IRQ handling".

It's pretty clear now that
 (a) The whole "driver can't handle ring full" story is most likely
     wrong.
 (b) The ER_FULL_HACK workaround based on the false assumtion doesn't
     much.  It avoids the driver crashing (without commit 7da76e1), but
     it doesn't make usb work.
 (c) With 7da76e1 applied it doesn't trigger any more.

So, lets kill it.  Or, to be exact, lets almost kill it.  Some data
fields are kept unused in the state struct, for live migration backward
compatibility.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1486382139-30630-2-git-send-email-kraxel@redhat.com
hw/usb/hcd-xhci.c