From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jWR-0000AP-WB for qemu-devel@nongnu.org; Fri, 26 Jul 2013 11:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2jWN-00014h-En for qemu-devel@nongnu.org; Fri, 26 Jul 2013 11:01:35 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:51922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jWN-00014c-92 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 11:01:31 -0400 Received: by mail-pd0-f175.google.com with SMTP id 4so3010844pdd.34 for ; Fri, 26 Jul 2013 08:01:30 -0700 (PDT) Message-ID: <51F28F44.4010504@ozlabs.ru> Date: Sat, 27 Jul 2013 01:01:24 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1374835925-19298-1-git-send-email-aik@ozlabs.ru> <51F25EBE.7090408@redhat.com> In-Reply-To: <51F25EBE.7090408@redhat.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5] hcd-ohci: add dma error handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org 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 > > Patch added to usb patch queue. yay! thanks :) -- Alexey