From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53893 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Powmx-0002co-VB for qemu-devel@nongnu.org; Mon, 14 Feb 2011 06:40:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Powmw-0006WM-NJ for qemu-devel@nongnu.org; Mon, 14 Feb 2011 06:40:19 -0500 Received: from thoth.sbs.de ([192.35.17.2]:21811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Powmw-0006W1-Ez for qemu-devel@nongnu.org; Mon, 14 Feb 2011 06:40:18 -0500 Message-ID: <4D591498.5010805@siemens.com> Date: Mon, 14 Feb 2011 12:40:08 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1297121191-31245-1-git-send-email-agraf@suse.de> <4D591085.9020906@redhat.com> In-Reply-To: <4D591085.9020906@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC] prep: enable irq sharing on ide again List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Kevin Wolf , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Alexander Graf , Aurelien Jarno , QEMU Developers On 2011-02-14 12:22, Gerd Hoffmann wrote: > On 02/08/11 00:26, Alexander Graf wrote: >> The new ISA infrastructure checks for potential irq sharing bugs on >> interrupt lines, because usually irq lines on isa can't be shared. >> >> The PREP spec however mandates that the irq lines for both IDE ports >> are shared and according to Aurelien this also used to work just fine. >> >> So let's add a way to enable this sharing again, so we don't introduce >> unnecessary regressions over older versions of Qemu. > > Had a patch for that, got shoot down for reasons I don't remember, > attached for reference. It basically allows IRQ sharing in case the two > devices sharing the IRQ are of the same kind. In that case you usually > have a single guest driver handling both devices and IRQ sharing works > most of the time. Yeah, 3x -serial XXX is also broken for x86 targets as the third device shares its IRQ with the first - like on real HW... Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux