]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server
authorKan Liang <kan.liang@linux.intel.com>
Tue, 1 Jun 2021 13:09:03 +0000 (06:09 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 1 Jun 2021 14:00:05 +0000 (16:00 +0200)
commitf486056d5dcee91144e728d63317187809addc86
tree0a2d8e49e71684d51b9459df0124d5840e4ad2c2
parentf11626b4fe16318134890b3e9a02d2f8e8c0286c
perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server

Perf tool errors out with the latest event list for the Ice Lake server.

event syntax error: 'unc_m2m_imc_reads.to_pmm'
                           \___ value too big for format, maximum is 255

The same as the Snow Ridge server, the M2M uncore unit in the Ice Lake
server has the unit mask extension field as well.

Fixes: 14c3d22f7e51 ("perf/x86/intel/uncore: Add Ice Lake server uncore support")
Reported-by: Jin Yao <yao.jin@linux.intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/1622552943-119174-1-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_snbep.c