Re: [PATCH] perf/x86/intel: Add hardware cache event support for Intel Gemini Lake

From: Andi Kleen
Date: Thu Apr 13 2017 - 09:45:44 EST


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