History

perf/x86: Enable/Add IvyBridge hardware support

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.

Peter Zijlstra committed 14 years ago

Commit b6db4371 parent cccb9ba1 file · +2 −1Browse files

Unified · Split

arch/x86/kernel/cpu/perf_event_intel.c+2−1
@@ -1909,8 +1909,9 @@ __init int intel_pmu_init(void) · 1908 unmodified lines
19091909 break;
19101910
19111911 case 42: /* SandyBridge */
1912− x86_add_quirk(intel_sandybridge_quirk);
19131912 case 45: /* SandyBridge, "Romely-EP" */
1913+ x86_add_quirk(intel_sandybridge_quirk);
1914+ case 58: /* IvyBridge */
19141915 memcpy(hw_cache_event_ids, snb_hw_cache_event_ids,
19151916 sizeof(hw_cache_event_ids));
19161917

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t