[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Yinghai Lu <yinghai@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acubu1ghVicdCi1sNUKDgO1fgrz3Pw==
  • Thread-topic: [Xen-devel] iommu=0 leading to panic when system defaults to using x2apic

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.