From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PerVy-00031n-Em for qemu-devel@nongnu.org; Mon, 17 Jan 2011 11:01:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PerVx-0003vD-H0 for qemu-devel@nongnu.org; Mon, 17 Jan 2011 11:01:06 -0500 Received: from cantor.suse.de ([195.135.220.2]:60988 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PerVx-0003uT-Bj for qemu-devel@nongnu.org; Mon, 17 Jan 2011 11:01:05 -0500 Message-ID: <4D3467B9.3070207@suse.de> Date: Mon, 17 Jan 2011 17:00:57 +0100 From: Alexander Graf MIME-Version: 1.0 References: <1292879604-22268-1-git-send-email-agraf@suse.de> <1292879604-22268-9-git-send-email-agraf@suse.de> <4D34542D.7080301@siemens.com> In-Reply-To: <4D34542D.7080301@siemens.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 8/8] ahci: fix !msi interrupts List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Kevin Wolf , Joerg Roedel , Sebastian Herbszt , qemu-devel Developers , Gerd Hoffmann Jan Kiszka wrote: > On 2010-12-20 22:13, Alexander Graf wrote: > >> When not using MSI, receiving an interrupt while the interrupt line is active >> pulses the interrupt line. Without this, guests don't realize that a new >> interrupt occured. >> > > This doesn't look OK. The device model should look at the currently used > mode and switch between edge and level triggering accordingly. As it > appears like this is what it already does, this change may just paper > over the real issue. > Well, I have this internal abstraction to make edge and level triggered interrupt triggering easier. irq_lower is a simple nop for the edge case. Alex