Displaying 1 result from an estimated 1 matches for "02c0af2bf280".
2011 Jan 21
11
[PATCH]x86:x2apic: Disable x2apic on x86-32 permanently
...2 uses vcpu pointer before it is initialized. As x2apic is unlikely to be used on x86_32, this patch disables x2apic permanently on x86_32. It also asserts the sanity of vcpu pointer before dereference to prevent further misuse.
Signed-off-by: Fengzhe Zhang <fengzhe.zhang@intel.com>
diff -r 02c0af2bf280 xen/arch/x86/apic.c
--- a/xen/arch/x86/apic.c Mon Jan 17 18:05:52 2011 +0000
+++ b/xen/arch/x86/apic.c Wed Jan 19 03:24:16 2011 -0500
@@ -961,6 +961,22 @@
if ( !cpu_has_x2apic )
return;
+#ifdef __i386__
+ clear_bit(X86_FEATURE_X2APIC, boot_cpu_data.x86_capability);
+ if (x2apic...