perf/x86: enable Haswell Celeron RAPL support
authorStephane Eranian <[email protected]>
Mon, 16 Dec 2013 20:20:23 +0000 (21:20 +0100)
committerIngo Molnar <[email protected]>
Tue, 17 Dec 2013 14:21:32 +0000 (15:21 +0100)
Enable RAPL support for Haswell Celeron (model 69).

Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [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_rapl.c

index bf8e4a736d48ee00e75abd1586673571a56ae903..0e3754e450d993bd1254d1ba3da92e378c04279b 100644 (file)
@@ -615,6 +615,7 @@ static int __init rapl_pmu_init(void)
        case 42: /* Sandy Bridge */
        case 58: /* Ivy Bridge */
        case 60: /* Haswell */
+       case 69: /* Haswell-Celeron */
                rapl_cntr_mask = RAPL_IDX_CLN;
                rapl_pmu_events_group.attrs = rapl_events_cln_attr;
                break;