From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEnMh-0004z0-LN for qemu-devel@nongnu.org; Thu, 11 Jun 2009 12:42:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEnMd-0004vT-6O for qemu-devel@nongnu.org; Thu, 11 Jun 2009 12:42:59 -0400 Received: from [199.232.76.173] (port=44951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEnMc-0004vQ-Va for qemu-devel@nongnu.org; Thu, 11 Jun 2009 12:42:55 -0400 Received: from mx2.redhat.com ([66.187.237.31]:33214) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEnMc-0004No-Gk for qemu-devel@nongnu.org; Thu, 11 Jun 2009 12:42:54 -0400 Date: Thu, 11 Jun 2009 19:40:45 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] Register uhci_reset() callback. Message-ID: <20090611164045.GA954@redhat.com> References: <20090611084808.GA19508@redhat.com> <200906111441.34151.paul@codesourcery.com> <20090611134656.GC19508@redhat.com> <200906111453.13421.paul@codesourcery.com> <20090611140054.GD19508@redhat.com> <20090611163803.GB12367@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090611163803.GB12367@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Paul Brook , qemu-devel@nongnu.org On Thu, Jun 11, 2009 at 05:38:03PM +0100, Jamie Lokier wrote: > Gleb Natapov wrote: > > RHEL4.8 hangs after reboot because usb interrupt is not goes away. This > > patch fixes it. Reseting all devices on a system reset is a right thing to do > > even if there is no reproducible bug exist. > > I've got real hardware with this problem! It doesn't reset the USB > hardware (with some kinds of reset), and after reset the kernel runs > about 100x too slow because it's getting a high rate of USB > interrupts, until it loads the USB driver. > > In the real hardware the solution is to explicitly shut down the USB > chip prior to manual reset, and fortunately the watchdog/power-on > resets do reset the USB chip anyway. > > So I definitely support the idea that all components should be reset > on a system reset event :-) > > Now, a CPU-only reset, such as triple fault on x86, that's a bit different. > On x86 triple fault wired to system reset. -- Gleb.