Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753765AbdDMNpl (ORCPT ); Thu, 13 Apr 2017 09:45:41 -0400 Received: from mga14.intel.com ([192.55.52.115]:28807 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753674AbdDMNpk (ORCPT ); Thu, 13 Apr 2017 09:45:40 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,194,1488873600"; d="scan'208";a="955723106" Date: Thu, 13 Apr 2017 06:45:38 -0700 From: Andi Kleen To: Yunying Sun Cc: Peter Zijlstra , Alexander Shishkin , linux-kernel@vger.kernel.org, vince@deater.net, eranian@google.com, Arnaldo Carvalho de Melo , kan.liang@intel.com Subject: Re: [PATCH] perf/x86/intel: Add hardware cache event support for Intel Gemini Lake Message-ID: <20170413134538.GF4021@tassilo.jf.intel.com> References: <20170413081913.17338-1-yunying.sun@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170413081913.17338-1-yunying.sun@intel.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 15 On Thu, Apr 13, 2017 at 04:19:13PM +0800, Yunying Sun wrote: > Gemini Lake is a Goldmont core based Apollo Lake successor with better > CPU performance. Currently there is no hardware cache events available > if checking with "perf list cache" on Gemini Lake. Perf hardware cache > event test always fail because of this. > > This patch adds INTEL_FAM6_ATOM_GEMINI_LAKE case to use same Goldmont > hardware cache events table for Gemini Lake. With this patch, below > hardware cache events are available on Gemini Lake, and perf hardware > cache event test can pass. Gemini Lake needs more changes. Kan has been working on a more complete patch kit. -Andi