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: Jan Beulich <JBeulich@xxxxxxxxxx>, "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>
Subject: RE: [Xen-devel] iommu=0 leading to panic when system defaults to using x2apic
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Tue, 14 Dec 2010 08:53:26 -0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>
Delivery-date: Tue, 14 Dec 2010 08:54:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D07372F0200007800027BBF@xxxxxxxxxxxxxxxxxx>
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>
References: <4D0215E0020000780002734A@xxxxxxxxxxxxxxxxxx> <C927C3C4.C5DD%keir@xxxxxxx> <4D0224E602000078000273AD@xxxxxxxxxxxxxxxxxx> <749B9D3DBF0F054390025D9EAFF47F22317AA2F4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4D0257D7020000780002747B@xxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D530193BB9EB8@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4D07372F0200007800027BBF@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcubZ/lnrM8rZUffR5C72WmIse6WPgARtRSw
Thread-topic: [Xen-devel] iommu=0 leading to panic when system defaults to using x2apic
> 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.

Allen

-----Original Message-----
From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx] 
Sent: Tuesday, December 14, 2010 12:22 AM
To: Kay, Allen M; Zhang, Yang Z
Cc: Han, Weidong; xen-devel@xxxxxxxxxxxxxxxxxxx; Keir Fraser
Subject: RE: [Xen-devel] iommu=0 leading to panic when system defaults to using 
x2apic

>>> On 10.12.10 at 19:26, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> wrote:
> The architectural requirement is actually between interrupt remapping and 
> x2apic.  Since interrupt remapping is part of the VT-d feature so current 
> software requires all VT-d features enabled in order for x2apic to be enabled.
> 
> Strictly speaking DMA remapping is not required for x2apic.  However, queued 
> invalidation is required since interrupt remapping requires queued 
> invalidation.  So x2apic dependency is as follows:
> 
>     x2apic->interrupt remapping->queued invalidation
> 
> Due to historical reasons, the new VT-d features were built on top of the old 
> ones as they become available.  Is there a requirement to separate this out?  
> If so, we will need to re-design iommu boot parameter which took a while to 
> get it right so most systems can now boot successfully.

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?

Thanks, Jan


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

<Prev in Thread] Current Thread [Next in Thread>