perf/x86/intel: Introduce the fourth fixed counter
authorKan Liang <kan.liang@linux.intel.com>
Thu, 23 Jul 2020 17:11:06 +0000 (10:11 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 18 Aug 2020 14:34:35 +0000 (16:34 +0200)
commit6f7225099d5f3ec3019f380a0da2b456b7796cb0
tree7bf8bdd1e8dafd127ac8203d48def4f37cdc3ff1
parent60a2a271cf05cf046c522e1d7f62116b4bcb32a2
perf/x86/intel: Introduce the fourth fixed counter

The fourth fixed counter, TOPDOWN.SLOTS, is introduced in Ice Lake to
measure the level 1 TopDown events.

Add MSR address and macros for the new fixed counter, which will be used
in a later patch.

Add comments to explain the event encoding rules for the fixed counters.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200723171117.9918-4-kan.liang@linux.intel.com
arch/x86/include/asm/perf_event.h