From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v5] hcd-ohci: add dma error handling
Date: Sat, 27 Jul 2013 01:01:24 +1000 [thread overview]
Message-ID: <51F28F44.4010504@ozlabs.ru> (raw)
In-Reply-To: <51F25EBE.7090408@redhat.com>
On 07/26/2013 09:34 PM, Gerd Hoffmann wrote:
> 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 <aik@ozlabs.ru>
>
> Patch added to usb patch queue.
yay! thanks :)
--
Alexey
prev parent reply other threads:[~2013-07-26 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 10:52 [Qemu-devel] [PATCH v5] hcd-ohci: add dma error handling Alexey Kardashevskiy
2013-07-26 11:34 ` Gerd Hoffmann
2013-07-26 15:01 ` Alexey Kardashevskiy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51F28F44.4010504@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).