Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932773AbdIHVfY (ORCPT ); Fri, 8 Sep 2017 17:35:24 -0400 Received: from mga14.intel.com ([192.55.52.115]:45303 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932621AbdIHVfA (ORCPT ); Fri, 8 Sep 2017 17:35:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,363,1500966000"; d="scan'208";a="149827839" From: kan.liang@intel.com To: tglx@linutronix.de, peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org Cc: harry.pan@intel.com, srinivas.pandruvada@linux.intel.com, piotr.luc@intel.com, ak@linux.intel.com, Kan Liang Subject: [PATCH 3/3] perf/x86/intel/rapl: add missing CPU IDs Date: Fri, 8 Sep 2017 17:34:49 -0400 Message-Id: <20170908213449.6224-3-kan.liang@intel.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170908213449.6224-1-kan.liang@intel.com> References: <20170908213449.6224-1-kan.liang@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 782 Lines: 25 From: Kan Liang DENVERTON and GEMINI_LAKE support same RAPL counters as Apollo Lake. Signed-off-by: Kan Liang --- arch/x86/events/intel/rapl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c index 8e2457c..005908e 100644 --- a/arch/x86/events/intel/rapl.c +++ b/arch/x86/events/intel/rapl.c @@ -775,6 +775,9 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = { X86_RAPL_MODEL_MATCH(INTEL_FAM6_KABYLAKE_DESKTOP, skl_rapl_init), X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT, hsw_rapl_init), + X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_DENVERTON, hsw_rapl_init), + + X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GEMINI_LAKE, hsw_rapl_init), {}, }; -- 2.9.4