qemu-patch-raspberry4/hw
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
..
9pfs devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
acpi acpi/piix4: QOM parent field cleanup 2013-07-23 00:37:33 +02:00
alpha target-alpha: Move alarm to vm_clock 2013-07-18 06:44:55 -07:00
arm versatilepb: QOM cast cleanup for vpb_sic_state 2013-07-29 21:06:27 +02:00
audio pl041: QOM cast cleanup 2013-07-29 21:05:58 +02:00
block onenand: QOM cast cleanup 2013-07-29 21:05:58 +02:00
bt sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char pl011: QOM'ify pl011 and pl011_luminary 2013-07-29 21:06:28 +02:00
core qdev: Add SIZE type to qdev properties 2013-07-29 19:33:33 -05:00
cpu arm11mpcore: QOM cast cleanups for mpcore_rirq_state 2013-07-29 20:44:02 +02:00
cris memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
display tcx: QOM cast cleanup 2013-07-29 21:06:05 +02:00
dma sun4m_iommu: QOM cast cleanup 2013-07-29 21:06:46 +02:00
gpio gpio/zaurus: QOM cast cleanup 2013-07-29 21:06:57 +02:00
i2c exynos4210_i2c: QOM cast cleanup 2013-07-29 21:07:02 +02:00
i386 pc: limit 64 bit hole to 2G by default 2013-07-29 19:33:34 -05:00
ide ide: Introduce abstract QOM type for PCIIDEState 2013-07-29 20:41:49 +02:00
input pl050: QOM'ify pl050_keyboard and pl050_mouse 2013-07-29 21:06:57 +02:00
intc ioapic: QOM cast cleanup 2013-07-29 21:07:02 +02:00
isa devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
lm32 lm32_juart: QOM cast cleanup 2013-07-29 21:06:28 +02:00
m68k memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
microblaze microblaze: Fix latent bug with default DTB lookup 2013-07-09 13:38:58 -05:00
mips mips_malta: fix copy of the 0x1fc00000 region 2013-07-29 07:48:09 +02:00
misc zynq_slcr: QOM cast cleanup 2013-07-29 21:06:59 +02:00
moxie memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
net spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
nvram ds1225y: QOM cast cleanup for SysBusNvRamState 2013-07-29 21:07:00 +02:00
openrisc hw/openrisc: Use stderr output instead of qemu_log 2013-07-23 18:31:24 +08:00
pci pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
pci-bridge pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
pci-host pc: limit 64 bit hole to 2G by default 2013-07-29 19:33:34 -05:00
ppc spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
s390x s390x: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:33:54 -05:00
scsi spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
sd pl181: QOM cast cleanup 2013-07-29 21:07:00 +02:00
sh4 sh4: unbreak r2d 2013-07-25 08:12:27 -05:00
sparc sun4m: QOM cast cleanup for RamDevice 2013-07-29 21:07:00 +02:00
sparc64 sun4u: QOM cast cleanup for RamDevice 2013-07-29 21:07:00 +02:00
ssi xilinx_spi: QOM cast cleanup 2013-07-29 21:07:01 +02:00
timer xilinx_timer: QOM cast cleanup 2013-07-29 21:07:02 +02:00
tpm hw/t*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
unicore32 memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
usb hcd-ohci: add dma error handling 2013-07-30 10:26:19 +02:00
virtio devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
watchdog devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
xen devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
xtensa cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook 2013-07-23 02:41:33 +02:00
Makefile.objs virtio: simplify Makefile conditionals 2013-04-19 16:18:11 +02:00