[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] hcd-ohci: add dma error handling
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v5] hcd-ohci: add dma error handling |
Date: |
Fri, 26 Jul 2013 13:34:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130621 Thunderbird/17.0.7 |
On 07/26/13 12:52, Alexey Kardashevskiy wrote:
> 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 <address@hidden>
Patch added to usb patch queue.
thanks,
Gerd