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: Tue, 24 Aug 2010 13:10:19 -0400 Message-ID: <20100824171019.GA18015@phenom.dumpdata.com> References: <20100816154618.GA8493@phenom.dumpdata.com> <20100816223354.GA4237@phenom.dumpdata.com> <20100818232547.GA654@phenom.dumpdata.com> <20100823151842.GB5955@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 Mon, Aug 23, 2010 at 09:37:31PM +0100, M A Young wrote: > On Mon, 23 Aug 2010, M A Young wrote: > > >>We could hack it and make sure that in > >>setup_IO_APIC_irqs for IRQ 12, we make it send to both CPUs. > >>Something like this (compile tested only): > > > >I don't get any output from that modification! > > Which might be a 4.0.0 issue not in 4.0.1-rc6 or I might have messed > up the test, because I do get the "hack" line segment with 4.0.1-rc6 What did the hack line say? Was the value 1, 2, something completly random? > though the mouse and keyboard still don't work. I spoke with Keir a bit and he mentioned that there was a major rework of the IRQs in 4.0, wherein we would store the IRQs per CPU structure. That is instead of having a "globally" accessible irq structure wherein CPUs might contend for it. The folks at Intel did this so they might have a better idea - and I can dig up from the hg annotate logs who they are and we can ask them. But before we go that route, the other idea was try to disable the irq balance code. Try passing in 'noirqbalance' and see what happens then.