From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86: fix i8259A_resume() Date: Mon, 14 May 2012 16:33:02 +0100 Message-ID: References: <4FB10CAC0200007800083700@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FB10CAC0200007800083700@nat28.tlf.novell.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: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 14/05/2012 12:46, "Jan Beulich" wrote: > On systems that have an IO-APIC, we generally run the PIC in AEOI > mode, yet i8259A_resume() so far failed to put it back into that mode. > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/arch/x86/i8259.c > +++ b/xen/arch/x86/i8259.c > @@ -314,7 +314,7 @@ static void save_ELCR(char *trigger) > > int i8259A_resume(void) > { > - init_8259A(0); > + init_8259A(i8259A_irq_type.ack == disable_8259A_irq); > restore_ELCR(irq_trigger); > return 0; > } > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel