From: Tim Deegan Subject: Re: [Patch v4 2/5] x86/hpet: Use singe apic vector rather than irq_descs for HPET interrupts Date: Thu, 14 Nov 2013 16:52:03 +0100 Message-ID: <20131114155203.GD42238@deinos.phlegethon.org> References: <1384365554-11017-1-git-send-email-andrew.cooper3@citrix.com> <1384365554-11017-3-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1384365554-11017-3-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org Hi, This looks pretty good to me. At 17:59 +0000 on 13 Nov (1384361951), Andrew Cooper wrote: > + else if ( fallback_deadline < STIME_MAX && fallback_deadline != -1 ) > + { > + /* > + * Else we want to reprogram the fallback HPET sooner if possible, > + * but with all the spinlocking, it just might have passed. > + */ > + ch = &hpet_events[fallback_idx]; > + > + spin_lock(&ch->lock); > > - if ( !(ch->flags & HPET_EVT_LEGACY) ) > - hpet_attach_channel(cpu, ch); > + if ( ch->cpu != 1 && ch->next_event == fallback_deadline ) DYM '!= -1' here? Apart from that, you can put 'Reviewed-by: Tim Deegan ' on patches 1-3. Cheers, Tim.