From: "Jan Beulich" Subject: Re: xen dependant on pcpu 0 ? Date: Wed, 13 Oct 2010 17:08:30 +0100 Message-ID: <4CB5F59E020000780001CF47@vpn.id2.novell.com> References: <1452957126.20101012182813@eikelenboom.it> <20101012164433.GB21567@dumpdata.com> <93878465.20101013153641@eikelenboom.it> <1052638177.20101013162635@eikelenboom.it> <4CB5E14D020000780001CE5A@vpn.id2.novell.com> <31342487.20101013170345@eikelenboom.it> <4CB5EBC3020000780001CEC6@vpn.id2.novell.com> <831187336.20101013174107@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <831187336.20101013174107@eikelenboom.it> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sander Eikelenboom Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk , Yunhong Jiang , Ian , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 13.10.10 at 17:41, Sander Eikelenboom wrote: > I saw a mistake in my explanation, i didn't mean d=3D0, but in my case = (fresh=20 > boot, first time domain with passthrough is started) d is not NULL = and=20 > d->domain_id =3D 0 > So it seems it thinks it's still assigned to dom0 when the MSI-X gets = enabled=20 > ? That would be bad indeed, but would indicate a problem elsewhere. > But this all does get triggered when the domU is started to which the = domain=20 > is passed through, and yes it enables MSI-X (when i look at lspci or=20 > /proc/interrupts in the domU) > but d->domain_id results in "0" and not in the domain id of domU. > So if in this case the code in ( !d ) should have been run, it didn't = (have=20 > put a printk there to be sure) No, generally the !d case shouldn't get executed, the following d case, however, would expect the correct domain to be used (if it had a body implemented). > You were right that it didn't fix my freeze problem, although the RCU=20 > detected CPU stall was now followed by the beginning of a trace although = it=20 > doesn't provide much more info. > I attached a photo of it. Looks like an access to a not mapped (IO-?)APIC page - that code path likely hasn't been tested so far in the pv-ops context. Jan