aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouquan Song <[email protected]>2011-08-02 14:01:35 +0800
committerIngo Molnar <[email protected]>2011-08-09 11:58:06 +0200
commita34668f6beb4ab01e07683276d6a24bab6c175e0 (patch)
tree9b1763b488197ae2bce49e6cb590795f77ae20c3
parentb77f0f3c1f587791aa5d9bd1b0012c9a89eb9258 (diff)
perf, x86: Add model 45 SandyBridge support
Add support to Romely-EP SandyBridge. Signed-off-by: Youquan Song <[email protected]> Signed-off-by: Anhua Xu <[email protected]> Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel.c1
1 files changed, 1 insertions, 0 deletions
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));