From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAA6a-00072A-27 for qemu-devel@nongnu.org; Mon, 16 Nov 2009 17:31:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAA6V-0006yL-G5 for qemu-devel@nongnu.org; Mon, 16 Nov 2009 17:31:27 -0500 Received: from [199.232.76.173] (port=33110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAA6V-0006yE-9N for qemu-devel@nongnu.org; Mon, 16 Nov 2009 17:31:23 -0500 Received: from mail2.shareable.org ([80.68.89.115]:50134) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAA6U-0002qs-Sb for qemu-devel@nongnu.org; Mon, 16 Nov 2009 17:31:23 -0500 Date: Mon, 16 Nov 2009 22:31:21 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: [PATCH] sparc32 irq clearing (guest Solaris performance+NetBSD) fix Message-ID: <20091116223121.GB12063@shareable.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel , Artyom Tarasenko Blue Swirl wrote: > This patch makes the interrupts latch: ignore source clearing the > interrupt. It seems be ~okay for my usual test setup, but does not > help NetBSD 1.3.3. Some other NetBSD tests are changed, but they > crashed before. I'd expect the worst that would happen is "spurious interrupt" messages under some kernel, according to the earlier description of how Solaris handles interrupts (which is quite usual). At least you'd expect the behaviour to be fine because no interrupts are lost. Drivers which go wrong because their interrupt handler is called unnecessarily (or at least the "test device has condition pending" function) tend to be rather fragile, because it's expected when interrupt lines are shared between devices. Then again, some old devices never did shared interrupt lines much. -- Jamie