From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnHrs-0007yb-6A for qemu-devel@nongnu.org; Mon, 14 Sep 2009 16:09:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnHrn-0007yM-Oa for qemu-devel@nongnu.org; Mon, 14 Sep 2009 16:09:43 -0400 Received: from [199.232.76.173] (port=48431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnHrn-0007yJ-LI for qemu-devel@nongnu.org; Mon, 14 Sep 2009 16:09:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41418) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnHrn-00049m-72 for qemu-devel@nongnu.org; Mon, 14 Sep 2009 16:09:39 -0400 Subject: Re: [Qemu-devel] [PATCH 8/9] isa: refine irq reservations References: <1252943364-32705-1-git-send-email-kraxel@redhat.com> <1252943364-32705-9-git-send-email-kraxel@redhat.com> From: Markus Armbruster Date: Mon, 14 Sep 2009 22:09:35 +0200 In-Reply-To: (Blue Swirl's message of "Mon\, 14 Sep 2009 19\:55\:23 +0300") Message-ID: <87ab0xuw3k.fsf@pike.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Gerd Hoffmann , qemu-devel@nongnu.org Blue Swirl writes: > On Mon, Sep 14, 2009 at 6:49 PM, Gerd Hoffmann wrote: >> There are a few cases where IRQ sharing on the ISA bus is used and >> possible. =C2=A0In general only devices of the same kind can do that. >> A few use cases: >> >> =C2=A0* serial lines 1+3 share irq 4 >> =C2=A0* serial lines 2+4 share irq 3 >> =C2=A0* parallel ports share irq 7 >> =C2=A0* ppc/prep: ide ports share irq 13 > > There is another ppc/prep case where RTC and m48t59 share irq 8. The > attached patch converts m48t59 to ISA and makes this more visible. > > Does sharing of IRQs really have to be fatal? Wasn't ISA bus edge > triggered and so IRQ sharing was a bit unreliable (but not completely > broken) also on real HW? If I remember correctly (and that's a considerable if), sufficiently well-behaved hardware with sufficiently smart drivers could share IRQs.