From 6bdc59fbca7e9279023aecde6c6b1c2a3fab152c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 27 Dec 2013 13:34:55 -0500 Subject: [PATCH] xhci: Use 64bit writes to ERDP register. At least some real-world XHCI controllers expect a 64bit write to the ERDP register. Signed-off-by: Kevin O'Connor --- src/hw/usb-xhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hw/usb-xhci.c b/src/hw/usb-xhci.c index dc98e5d..d0df6ee 100644 --- a/src/hw/usb-xhci.c +++ b/src/hw/usb-xhci.c @@ -379,6 +379,7 @@ static void xhci_process_events(struct usb_xhci_s *xhci) u32 addr = (u32)(&ir->erdp_low); u32 erdp = (u32)(evts->ring + nidx); pci_writel(addr, erdp); + pci_writel((u32)(&ir->erdp_high), 0); } } -- 2.39.5