From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: xen 4 only seeing one keyboard and mouse Date: Mon, 23 Aug 2010 10:24:24 -0400 Message-ID: <20100823142424.GA5955@phenom.dumpdata.com> References: <20100722175153.GA4911@phenom.dumpdata.com> <20100723142724.GB4008@phenom.dumpdata.com> <20100816154618.GA8493@phenom.dumpdata.com> <20100816223354.GA4237@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: M A Young Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sat, Aug 21, 2010 at 10:00:37PM +0100, M A Young wrote: > On Mon, 16 Aug 2010, Konrad Rzeszutek Wilk wrote: > > >The one thing that is odd is that in 4.0 we start with vector 0x28 while > >in 3.4 it is with 0x20. > > > >It looks as if one vector is getten eaten. But that should not be such > >an issue as the internal mapping of vector->irq is still proper... > > I can tell you why that happens. > For 3.4 new vectors are allocated in the order 32,40,...,216 then > 33,41,... etc. in assign_irq_vector from xen/arch/x86/irq.c > For 4.0 new vectors are allocated in the order 40,48,...,216 then > 33,41,... etc. in __assign_irq_vector from xen/arch/x86/irq.c > So for 4.0 the allocation of vector 32 is never attempted, but as it > is already reserved for IRQ_MOVE_CLEANUP_VECTOR this shouldn't > matter. Argh. So red-heering then.