From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2gI2-0005gK-10 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 07:34:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2gI0-0004Gd-J7 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 07:34:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2gI0-0004GY-BD for qemu-devel@nongnu.org; Fri, 26 Jul 2013 07:34:28 -0400 Message-ID: <51F25EBE.7090408@redhat.com> Date: Fri, 26 Jul 2013 13:34:22 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1374835925-19298-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1374835925-19298-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-1 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: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org 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. thanks, Gerd