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] RE: kernel panic when enable x2apic

To: Keir Fraser <keir@xxxxxxx>
Subject: Re: [Xen-devel] RE: kernel panic when enable x2apic
From: Weidong Han <weidong.han@xxxxxxxxx>
Date: Wed, 01 Dec 2010 08:42:50 +0800
Cc: "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>, Sander Eikelenboom <linux@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Tue, 30 Nov 2010 16:43:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C91A9347.B7D7%keir@xxxxxxx>
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: <C91A9347.B7D7%keir@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
Keir Fraser wrote:
On 30/11/2010 09:23, "Keir Fraser" <keir@xxxxxxx> wrote:

The obvious solution is to remove
boot_cpu_data.x86_capability[4] = cpuid_ecx(1) in start_vmx. It indeed
works with the change. I will send out the patch after more tests.
Yes, the write to x86_capability is totally unnecessary. There is a similar
pointless one in SVM code -- in fact they don't even manage to write to the
correct array element of x86_capability[]!

Removing both writes to x86_capability[] would be an appropriate fix for 4.0
branch as well.

I applied a fix to xen-unstable and xen-4.0-testing. Eyeballing plus a quick
test convinces me it is absolutely fine. I credited you in the changeset
comment, I hope that's okay.

Great!

Regards,
Weidong


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