CPUID: pass through one more cache description leaf
PATCH 1/1 CPUID: pass through one more cache description leaf
Add a missing CPUID leaf that contains AMD-specific cache info. Without this, Windows can spin trying to prefetch memory buffers using a stride length of zero.
Signed-off-by Tim Deegan <[email protected]>
tools/libxc/xc_cpuid_x86.c +7 -6
@@ -210,12 +210,13 @@ static void xc_cpuid_hvm_policy( regs[1 ] = regs[2 ] = regs[3 ] =0 ;break ; -case 0x00000002 : -case 0x00000004 : -case 0x80000002 : -case 0x80000003 : -case 0x80000004 : -case 0x80000006 : +case 0x00000002 :// Intel cache info +case 0x00000004 :// Intel cache info +case 0x80000002 :// Processor name string +case 0x80000003 :// ... continued +case 0x80000004 :// ... continued +case 0x80000005 :// AMD L1 cache/TLB info +case 0x80000006 :// AMD L2/3 cache/TLB info break ;default :
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel