From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751558AbcCTXwS (ORCPT ); Sun, 20 Mar 2016 19:52:18 -0400 Received: from mga09.intel.com ([134.134.136.24]:7376 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbcCTXwL (ORCPT ); Sun, 20 Mar 2016 19:52:11 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,368,1455004800"; d="scan'208";a="938003191" From: Srinivas Pandruvada To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com Cc: x86@kernel.org, bp@alien8.de, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH] perf/x86/intel/rapl: Add missing Broadwell models Date: Sun, 20 Mar 2016 16:52:18 -0700 Message-Id: <1458517938-25308-1-git-send-email-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added Broadwell-H and Broadwell-Server. Signed-off-by: Srinivas Pandruvada --- arch/x86/events/intel/rapl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c index 69904e7..6196f41 100644 --- a/arch/x86/events/intel/rapl.c +++ b/arch/x86/events/intel/rapl.c @@ -753,6 +753,7 @@ static int __init rapl_pmu_init(void) rapl_pmu_events_group.attrs = rapl_events_cln_attr; break; case 63: /* Haswell-Server */ + case 79: /* Broadwell-Server */ apply_quirk = true; rapl_cntr_mask = RAPL_IDX_SRV; rapl_pmu_events_group.attrs = rapl_events_srv_attr; @@ -760,6 +761,7 @@ static int __init rapl_pmu_init(void) case 60: /* Haswell */ case 69: /* Haswell-Celeron */ case 61: /* Broadwell */ + case 71: /* Broadwell-H */ rapl_cntr_mask = RAPL_IDX_HSW; rapl_pmu_events_group.attrs = rapl_events_hsw_attr; break; -- 2.5.0