| From ef454caeb740ee4e1b89aeb7f7692d5ddffb6830 Mon Sep 17 00:00:00 2001 |
| From: Kan Liang <kan.liang@intel.com> |
| Date: Thu, 22 Jan 2015 07:50:53 +0000 |
| Subject: perf/x86/intel: Add model number for Airmont |
| |
| From: Kan Liang <kan.liang@intel.com> |
| |
| commit ef454caeb740ee4e1b89aeb7f7692d5ddffb6830 upstream. |
| |
| Intel Airmont supports the same architectural and non-architectural |
| performance monitoring events as Silvermont. |
| |
| Signed-off-by: Kan Liang <kan.liang@intel.com> |
| Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> |
| Cc: Arnaldo Carvalho de Melo <acme@kernel.org> |
| Cc: Linus Torvalds <torvalds@linux-foundation.org> |
| Link: http://lkml.kernel.org/r/1421913053-99803-1-git-send-email-kan.liang@intel.com |
| Signed-off-by: Ingo Molnar <mingo@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| arch/x86/kernel/cpu/perf_event_intel.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/arch/x86/kernel/cpu/perf_event_intel.c |
| +++ b/arch/x86/kernel/cpu/perf_event_intel.c |
| @@ -2431,6 +2431,7 @@ __init int intel_pmu_init(void) |
| break; |
| |
| case 55: /* 22nm Atom "Silvermont" */ |
| + case 76: /* 14nm Atom "Airmont" */ |
| case 77: /* 22nm Atom "Silvermont Avoton/Rangely" */ |
| memcpy(hw_cache_event_ids, slm_hw_cache_event_ids, |
| sizeof(hw_cache_event_ids)); |