[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] HT support on VMX broken
Hyperthreading on VMX is broken in the xeno-unstable.bk tree. The diff below fixes this. It turns out that the mtrr code clears too many bits, some of them cause Xen to crash. Being a bit more precise fixes the problem. Leendert --- generic.c.orig 2005-01-03 23:44:18.000000000 -0500 +++ generic.c 2005-01-05 14:57:16.840893000 -0500 @@ -250,7 +250,7 @@ /* Save value of CR4 and clear Page Global Enable (bit 7) */ if ( cpu_has_pge ) { cr4 = read_cr4(); - write_cr4(cr4 & (unsigned char) ~(1 << 7)); + write_cr4(cr4 & ~X86_CR4_PGE); } /* Flush all TLBs via a mov %cr3, %reg; mov %reg, %cr3 */ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |