From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49472 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVm1o-0001WS-2p for qemu-devel@nongnu.org; Mon, 05 Jul 2010 09:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVlyS-0004WD-VE for qemu-devel@nongnu.org; Mon, 05 Jul 2010 09:44:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25177) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVlyS-0004W6-MT for qemu-devel@nongnu.org; Mon, 05 Jul 2010 09:44:40 -0400 Date: Mon, 5 Jul 2010 16:44:29 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] Re: [Bug 599958] Re: Timedrift problems with Win7: hpet missing time drift fixups Message-ID: <20100705134429.GS4689@redhat.com> References: <4C318B74.3040403@web.de> <4C319C30.30308@redhat.com> <4C31A0EC.7020803@web.de> <4C31A477.7010205@redhat.com> <4C31BE6A.70307@siemens.com> <4C31C4A3.4070208@redhat.com> <4C31CD38.5050904@siemens.com> <20100705122025.GQ4689@redhat.com> <4C31DD24.6080500@siemens.com> <4C31E12E.6090300@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C31E12E.6090300@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Blue Swirl , Jan Kiszka , Paul Brook , "qemu-devel@nongnu.org" On Mon, Jul 05, 2010 at 04:42:06PM +0300, Avi Kivity wrote: > On 07/05/2010 04:24 PM, Jan Kiszka wrote: > > > >But how to deal with multiple acks per input due to multiple open > >outputs (not just to different CPUs)? > > That will be very rare (i.e. guest bug). > > >We either need to enable the > >router to filter redundant information or support the injection source > >with processing all acks properly. > > > >And is there some scenario where the time-keeping device is sharing its > >IRQ line with some other device? De-coalescing workarounds would not > >work then if they were notifier based. > > In that case the timekeeping device needs to expose some kind of > register the guest reads, to distinguish among the various sources. > If that's the case, then the qemu timekeeping code can look at > accesses to this register instead of acks/deliveries. > RTC has such register, but Windows access it more the once on each interrupt and that makes counting on this access unreliable for interrupt decoalescing. -- Gleb.