From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastian Blank Subject: Re: pvops-2.6.32 - Interrupt routing problem Date: Mon, 15 Mar 2010 11:11:26 +0100 Message-ID: <20100315101126.GA24650@wavehammer.waldi.eu.org> References: <20100310111923.GA7087@wavehammer.waldi.eu.org> <20100314140813.GA5309@wavehammer.waldi.eu.org> <20100314152334.GA6483@wavehammer.waldi.eu.org> <4B9D0726.3060304@goop.org> <20100314161750.GA7790@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Zhang, Xiantao" Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Fraser , Keir@wavehammer.waldi.eu.org List-Id: xen-devel@lists.xenproject.org On Mon, Mar 15, 2010 at 12:30:32PM +0800, Zhang, Xiantao wrote: > Could you try the following patch ? Currently, the GSI 0-15 's polarity and trigger mode are determined by hypervisor, and maybe hypervisor and dom0 has no agreement to determin them. Just follow dom0's setting with this patch, and I think it maybe work for you. No, it does not. mp_register_gsi also disallows reprogramming of already setup IO-APIC entries. But if I force it with the following hack, it works. So I would assume this a bug in the hypervisor to setup the GSI without knowing anything about it. Bastian diff -r 4152a3ce90a7 xen/arch/x86/mpparse.c --- a/xen/arch/x86/mpparse.c Thu Mar 11 17:40:35 2010 +0000 +++ b/xen/arch/x86/mpparse.c Mon Mar 15 11:09:27 2010 +0100 @@ -1143,5 +1143,5 @@ if ((1<