From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH 01/10] arm/arm64: KVM: Fix ordering of timer/GIC on guest entry Date: Tue, 30 Jun 2015 22:19:11 +0200 Message-ID: <20150630201911.GY11332@cbox> References: <1433783045-8002-1-git-send-email-marc.zyngier@arm.com> <1433783045-8002-2-git-send-email-marc.zyngier@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Eric Auger , Alex =?iso-8859-1?Q?Benn=E9e?= , Andre Przywara To: Marc Zyngier Return-path: Received: from mail-la0-f50.google.com ([209.85.215.50]:35206 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbbF3UTM (ORCPT ); Tue, 30 Jun 2015 16:19:12 -0400 Received: by lagh6 with SMTP id h6so27375316lag.2 for ; Tue, 30 Jun 2015 13:19:10 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1433783045-8002-2-git-send-email-marc.zyngier@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jun 08, 2015 at 06:03:56PM +0100, Marc Zyngier wrote: > As we now inject the timer interrupt when we're about to enter > the guest, it makes a lot more sense to make sure this happens > before the vgic code queues the pending interrupts. > > Otherwise, we get the interrupt on the following exit, which is > not great for latency (and leads to all kind of bizarre issues > when using with active interrupts at the HW level). > > Signed-off-by: Marc Zyngier Reviewed-by: Christoffer Dall