perf/x86/intel/uncore: Use Sandy Bridge client PMU on Haswell/Broadwell
authorAndi Kleen <[email protected]>
Mon, 15 Jun 2015 05:57:41 +0000 (22:57 -0700)
committerIngo Molnar <[email protected]>
Tue, 4 Aug 2015 08:16:53 +0000 (10:16 +0200)
Haswell and Broadwell have the same uncore CBOX/ARB PMU as Sandy Bridge.
Add the respective model numbers to enable the SNB uncore PMU.

Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_intel_uncore.c

index 21b5e38c921b7a78102a2adbabf06328b56dbf9b..c2af96716d62b80f96647a2759b237154a7489a2 100644 (file)
@@ -1209,6 +1209,11 @@ static int __init uncore_cpu_init(void)
                break;
        case 42: /* Sandy Bridge */
        case 58: /* Ivy Bridge */
+       case 60: /* Haswell */
+       case 69: /* Haswell */
+       case 70: /* Haswell */
+       case 61: /* Broadwell */
+       case 71: /* Broadwell */
                snb_uncore_cpu_init();
                break;
        case 45: /* Sandy Bridge-EP */