Re: [Qemu-devel] [PATCH v3] hcd-ohci: add dma error handling

2013-07-26 Thread Gerd Hoffmann
On 07/26/13 12:10, Benjamin Herrenschmidt wrote: > On Fri, 2013-07-26 at 11:58 +0200, Gerd Hoffmann wrote: >> On 07/26/13 11:10, Alexey Kardashevskiy wrote: >>> Current hcd-ohci does not handle DMA errors. However they may happen >>> so here we introduce simple error handling. >>> >>> On such error

Re: [Qemu-devel] [PATCH v3] hcd-ohci: add dma error handling

2013-07-26 Thread Benjamin Herrenschmidt
On Fri, 2013-07-26 at 11:58 +0200, Gerd Hoffmann wrote: > On 07/26/13 11:10, 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 g

Re: [Qemu-devel] [PATCH v3] hcd-ohci: add dma error handling

2013-07-26 Thread Gerd Hoffmann
On 07/26/13 11:10, 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

[Qemu-devel] [PATCH v3] hcd-ohci: add dma error handling

2013-07-26 Thread Alexey Kardashevskiy
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" i