[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: add Ivy Bridge model numbers to model specific MSR handling
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1328785659 -3600 # Node ID 004a886b35d81330ca4e6c582727193fc0fdf2aa # Parent 8ba7ae0b070b4de93fc033067c61714c202d64c1 x86: add Ivy Bridge model numbers to model specific MSR handling This is model 0x3a (decimal 58) as per the most recent SDM. In vPMU code, also add a forgotten earlier model. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Xiantao Zhang<xiantao.zhang@xxxxxxxxx> --- diff -r 8ba7ae0b070b -r 004a886b35d8 xen/arch/x86/acpi/cpu_idle.c --- a/xen/arch/x86/acpi/cpu_idle.c Tue Feb 07 18:46:50 2012 +0000 +++ b/xen/arch/x86/acpi/cpu_idle.c Thu Feb 09 12:07:39 2012 +0100 @@ -106,6 +106,8 @@ switch ( c->x86_model ) { + /* Ivy bridge */ + case 0x3A: /* Sandy bridge */ case 0x2A: case 0x2D: diff -r 8ba7ae0b070b -r 004a886b35d8 xen/arch/x86/hvm/vmx/vmx.c --- a/xen/arch/x86/hvm/vmx/vmx.c Tue Feb 07 18:46:50 2012 +0000 +++ b/xen/arch/x86/hvm/vmx/vmx.c Thu Feb 09 12:07:39 2012 +0100 @@ -1751,6 +1751,8 @@ case 37: case 44: case 47: /* Sandy Bridge */ case 42: case 45: + /* Ivy Bridge */ + case 58: return nh_lbr; break; /* Atom */ diff -r 8ba7ae0b070b -r 004a886b35d8 xen/arch/x86/hvm/vmx/vpmu_core2.c --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c Tue Feb 07 18:46:50 2012 +0000 +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c Thu Feb 09 12:07:39 2012 +0100 @@ -623,8 +623,10 @@ case 26: case 29: case 42: + case 45: case 46: case 47: + case 58: vpmu->arch_vpmu_ops = &core2_vpmu_ops; return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |