WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] iommu=0 leading to panic when system defaults to using

To: Yinghai Lu <yinghai@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] iommu=0 leading to panic when system defaults to using x2apic
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 14 Dec 2010 18:18:45 +0000
Cc: Yang Z Zhang <yang.z.zhang@xxxxxxxxx>, Weidong Han <weidong.han@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Allen M Kay <allen.m.kay@xxxxxxxxx>, Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
Delivery-date: Tue, 14 Dec 2010 10:20:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=It4jrfdKu1euuvkzqtBFSWidQC9pVP590Xp4Zg5BMzc=; b=XKecwPDsqRLN6mQYF401tnWa4o+F0bKhhM7irFNVy+XNokAKvmrU2Glfopjn8Yw8oR SWDpBXefmWBlWrrNRwpIqgi5ckzd0/a54c388EK85OK1BIvjaHvo1PPx1TGB8C41ABiH eHLn/SoIL7MOwTvga0e3eub4zlbDQurYl5fvQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=qI8aBELp2Yz2DwdyEn45RxhQXb4KOVKGExFeJSVrw08LIClZDZ4Ls0Vdr/jKNudci+ mJ784veeldnYO8eNfiQajPZXqoi4Tj6Uz4sfGiBRajI8lU2D/F4RaT1fMJ5joW3k7NnI T+6/HEta08J0B7VB2YPlxuVeu8W516x+Fzn50=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D07AEF3.7010306@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acubu1ghVicdCi1sNUKDgO1fgrz3Pw==
Thread-topic: [Xen-devel] iommu=0 leading to panic when system defaults to using x2apic
User-agent: Microsoft-Entourage/12.27.0.100910
On 14/12/2010 17:52, "Yinghai Lu" <yinghai@xxxxxxxxxx> wrote:

> On 12/14/2010 09:08 AM, Jan Beulich wrote:
>>>>> On 14.12.10 at 17:53, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> wrote:
>>>>  And why is it that Xen panics when the BIOS pre-enabled x2apic
>>>> mode without also enabling interrupt re-mapping, while Linux
>>>> (afaict from looking at 2.6.32 code and output from an affected
>>>> machine) simply enables interrupt re-mapping in this case?
>>> 
>>> AFAIK, Linux also requires interrupt remapping for x2apic.  I believe
>>> Weidong has fixed the panic issue in Xen when x2apic is enabled without
>>> enabling interrupt remapping.  It should now behave the same way as Linux.
>> 
>> Oh, and I should have added that I'm currently polishing up
>> patches from Yinghai Lu to address this as well as other
>> problems preventing (certain?) large boxes from booting or
>> functioning correctly.
> 
> Yes, just want to make xen aligned to current Linux kernel behavior.
> BIOS guys said why Linux non-xen kernel is happy but xen kernel is not.
> 
> please check attached patches. Our big box with x2apic-preenabled, AND half
> cpus' apic id are above 255.
> 
> They are on top of xen-4.0.1. and first one is from Weidong in unstable.

I assume Jan is going to help with posting these as a regular patch series
for inclusion, with separate patches for 4.0 and 4.1 as appropriate.

 -- Keir

> Thanks
> 
> Yinghai Lu
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel