From: Ian Campbell Subject: Re: [PATCH v4 07/10] xen/arm: call gic_clear_lrs on entry to the hypervisor Date: Fri, 21 Mar 2014 13:14:52 +0000 Message-ID: <1395407692.19839.59.camel@kazak.uk.xensource.com> References: <1395232325-19226-7-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1395232325-19226-7-git-send-email-stefano.stabellini@eu.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: Stefano Stabellini Cc: julien.grall@citrix.com, jtd@galois.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 2014-03-19 at 12:32 +0000, Stefano Stabellini wrote: Can this not be folded back into the patch which added this function? > This change is needed by other patches later on. It is going to make > sure that the calculation in Xen of the highest priority interrupt > currently inflight is correct and accurate and not based on stale data. Hrm, can we not do this on demand just at the point where we are about to make such a calculation? There are going to be lots of hypervisor entries which don't want to do anything at all with interrupts, aren't there? Ian.