Implement rudimentary IVB perf support. The SDM states its identical to SNB with exception of the exact event tables, but a quick look suggests they're similar enough. Also mark SNB-EP as broken for now.
Unified · Split
| @@ -1909,8 +1909,9 @@ __init int intel_pmu_init(void) · 1908 unmodified lines | ||
| 1909 | 1909 | break; |
| 1910 | 1910 | |
| 1911 | 1911 | case 42: /* SandyBridge */ |
| 1912 | − x86_add_quirk(intel_sandybridge_quirk); | |
| 1913 | 1912 | case 45: /* SandyBridge, "Romely-EP" */ |
| 1913 | + x86_add_quirk(intel_sandybridge_quirk); | |
| 1914 | + case 58: /* IvyBridge */ | |
| 1914 | 1915 | memcpy(hw_cache_event_ids, snb_hw_cache_event_ids, |
| 1915 | 1916 | sizeof(hw_cache_event_ids)); |
| 1916 | 1917 | |