SLOF/lib/libusb
Alexey Kardashevskiy 2e01fb1142 usb-xhci: Reset ERSTSZ together with ERSTBA
When shutting down the adapter, SLOF writes 0 to the Event Ring Segment
Table Base Address Register (ERSTBA) but does not reset the Event Ring
Segment Table Size Register (ERSTSZ) which makes QEMU do DMA access
at zero address which fails in unassigned_mem_accepts.

This resets ERSTSZ right before resetting ERSTBA so these 2 registers
can stay in sync.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
2017-09-12 12:53:36 +10:00
..
Makefile Include make.rules in the library Makefiles 2015-03-23 11:43:20 +11:00
tools.h virtio-blk: support variable block size 2014-04-25 15:40:13 +05:30
usb-core.c usb: print unhandled descriptor in debug mode 2015-12-09 15:52:15 +11:00
usb-core.h usb: Initialize USB3 devices on a hub and keep track of hub topology 2016-08-03 13:48:18 +10:00
usb-ehci.c Stack optimization in libusb: split up setup_new_device() 2015-12-01 17:02:04 +11:00
usb-ehci.h usb-ehci: Add ehci handshake 2013-08-06 16:00:30 +10:00
usb-hid.c usb-hid: Fix non-working comma key 2016-07-25 14:58:27 +10:00
usb-hub.c usb: Set XHCI slot speed according to port status 2016-08-03 13:48:18 +10:00
usb-key.c USB keyboard driver 2013-07-24 14:46:23 +05:30
usb-key.h USB keyboard driver 2013-07-24 14:46:23 +05:30
usb-ohci.c Fix format strings in usb-ohci.c 2016-01-11 12:00:05 +11:00
usb-ohci.h usb-ohci: done_head processing fixes 2013-10-04 12:01:21 +05:30
usb-slof.c Stack optimization in libusb: split up setup_new_device() 2015-12-01 17:02:04 +11:00
usb-xhci.c usb-xhci: Reset ERSTSZ together with ERSTBA 2017-09-12 12:53:36 +10:00
usb-xhci.h usb: Set XHCI slot speed according to port status 2016-08-03 13:48:18 +10:00
usb.code usb-xhci: add xhci support 2013-11-15 10:36:51 +05:30
usb.h usb-xhci: add xhci support 2013-11-15 10:36:51 +05:30
usb.in usb-xhci: add xhci support 2013-11-15 10:36:51 +05:30