qemu-patch-raspberry4/hw/usb
Alexey Kardashevskiy cf66ee8e20 hcd-ohci: add dma error handling
Current hcd-ohci does not handle DMA errors. However they may happen
so here we introduce simple error handling.

On such errors, a typical OHCI will stop operating, signal the guest
about the error by sending "UnrecoverableError Event", set itself into
error state and set "Detected Parity Error" in its PCI config space
to signal that it got an error and so does the patch.

This also adds ohci_die() call to ohci_bus_start() to handle possible
failure of qemu_new_timer_ns().

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-07-30 10:26:19 +02:00
..
bus.c usb: add serial bus property 2013-06-24 08:41:07 +02:00
ccid-card-emulated.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ccid-card-passthru.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ccid.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
combined-packet.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
core.c Fix usage of USB_DEV_FLAG_IS_HOST flag. 2013-06-03 07:17:12 +02:00
desc.c usb: add serial bus property 2013-06-24 08:41:07 +02:00
desc.h usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-audio.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-bluetooth.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-hid.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-hub.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-network.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-serial.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-smartcard-reader.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-storage.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-uas.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-wacom.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci-pci.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci-sysbus.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci.c misc: Use g_assert_not_reached for code which is expected to be unreachable 2013-07-27 11:22:54 +04:00
hcd-ehci.h usb/hcd-ehci: Add Faraday FUSBH200 support 2013-06-24 08:33:11 +02:00
hcd-musb.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
hcd-ohci.c hcd-ohci: add dma error handling 2013-07-30 10:26:19 +02:00
hcd-uhci.c uhci: egsm fix 2013-07-30 10:26:19 +02:00
hcd-xhci.c xhci: handle USB_RET_IOERROR 2013-07-30 10:26:19 +02:00
host-bsd.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host-legacy.c usb-host: move legacy cmd line bits 2013-02-19 12:30:05 +01:00
host-libusb.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
host-linux.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
host-stub.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host.h usb-host: move legacy cmd line bits 2013-02-19 12:30:05 +01:00
libhw.c dma: eliminate DMAContext 2013-06-20 16:39:52 +02:00
Makefile.objs hw: make all of hw/usb/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
quirks-ftdi-ids.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks-pl2303-ids.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks.c usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
redirect.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00