From: Youquan Song Date: Tue, 2 Aug 2011 06:01:35 +0000 (+0800) Subject: perf, x86: Add model 45 SandyBridge support X-Git-Tag: v3.0.5~71 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3b576ff8b0e8a70be60a0ee8aa7d637ba27db2c8;p=karo-tx-linux.git perf, x86: Add model 45 SandyBridge support commit a34668f6beb4ab01e07683276d6a24bab6c175e0 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index 41178c826c48..dd208a829b2b 100644 --- a/arch/x86/kernel/cpu/perf_event_intel.c +++ b/arch/x86/kernel/cpu/perf_event_intel.c @@ -1495,6 +1495,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));