From: Youquan Song Date: Tue, 2 Aug 2011 06:01:35 +0000 (+0800) Subject: perf, x86: Add model 45 SandyBridge support X-Git-Tag: MMI-PSA29.97-13-9~18593^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a34668f6beb4ab01e07683276d6a24bab6c175e0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git perf, x86: Add model 45 SandyBridge support Add support to Romely-EP SandyBridge. Signed-off-by: Youquan Song Signed-off-by: Anhua Xu Signed-off-by: Lin Ming Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1312264895-2010-1-git-send-email-youquan.song@intel.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index 45fbb8f7f549..f88af2c2a561 100644 --- a/arch/x86/kernel/cpu/perf_event_intel.c +++ b/arch/x86/kernel/cpu/perf_event_intel.c @@ -1590,6 +1590,7 @@ static __init int intel_pmu_init(void) break; case 42: /* SandyBridge */ + case 45: /* SandyBridge, "Romely-EP" */ memcpy(hw_cache_event_ids, snb_hw_cache_event_ids, sizeof(hw_cache_event_ids));