From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51296 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGsEX-0000ua-LQ for qemu-devel@nongnu.org; Tue, 25 May 2010 07:23:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGsEU-00028V-OP for qemu-devel@nongnu.org; Tue, 25 May 2010 07:23:41 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:39153) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGsEU-00028N-Ep for qemu-devel@nongnu.org; Tue, 25 May 2010 07:23:38 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [RFT][PATCH 09/15] hpet/rtc: Rework RTC IRQ replacement by HPET Date: Tue, 25 May 2010 12:23:14 +0100 References: <201005251205.02782.paul@codesourcery.com> <4BFBB23E.20800@siemens.com> In-Reply-To: <4BFBB23E.20800@siemens.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201005251223.14409.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: blue Swirl , Jan Kiszka , "qemu-devel@nongnu.org" , Juan Quintela > Paul Brook wrote: > >>> This is wrong. The hpet device should expose this as an IO pin. > >> > >> Will look into this. > >> > >> BTW, I just realized that the GPIO handling is apparently lacking > >> support for attaching an output to multiple inputs. Or am I missing > >> something? > > > > Use an explicit mux. > > > > Incidentally I suspect your handling of the ISA IRQs is broken. You may > > never have more than one source connected to a sink. Shared IRQ lines > > must be done explicitly. > > No, the other way around: one source (RTC) multiple sinks (HPET, ACPI). > Will probably draft a generic irq/gpio mux. I realise that. However I'd expect things to break if the guest OS devices to share an IRQ line between the HPET and some other device. Paul