]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Split the Ice Lake and Tiger Lake MSR uncore support
authorKan Liang <kan.liang@linux.intel.com>
Fri, 25 Sep 2020 13:49:03 +0000 (06:49 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 29 Sep 2020 07:57:00 +0000 (09:57 +0200)
commit470cd53c1eba81f7d2c0d043e9e7270c7197b2d9
tree98ae4ff2b707f3f2a187d0bb061f8b8043492d52
parent194a9f483d1d9ad2418fcf1eed4c5664a17e4913
perf/x86/intel/uncore: Split the Ice Lake and Tiger Lake MSR uncore support

Previously, the MSR uncore for the Ice Lake and Tiger Lake are
identical. The code path is shared. However, with recent update, the
global MSR_UNC_PERF_GLOBAL_CTRL register and ARB uncore unit are changed
for the Ice Lake. Split the Ice Lake and Tiger Lake MSR uncore support.

The changes only impact the MSR ops() and the ARB uncore unit. Other
codes can still be shared between the Ice Lake and the Tiger Lake.

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/20200925134905.8839-1-kan.liang@linux.intel.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_snb.c