From 341928071d43ec56a32f853e3409c3730046ca6c Mon Sep 17 00:00:00 2001 From: Roman Dementiev Date: Sun, 16 Jun 2024 16:04:10 +0200 Subject: [PATCH] address https://github.com/intel/pcm/issues/758 SPR UPI discovery table is broken on SPR MCC resolves https://github.com/intel/pcm/issues/758 --- src/cpucounters.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpucounters.cpp b/src/cpucounters.cpp index ef6bdc89..4bcdda65 100644 --- a/src/cpucounters.cpp +++ b/src/cpucounters.cpp @@ -8054,7 +8054,8 @@ void ServerUncorePMUs::initDirect(uint32 socket_, const PCM * pcm) { switch (cpu_model) { - case PCM::SPR: + // don't use the discovery on SPR to work-around the issue + // mentioned in https://lore.kernel.org/lkml/20221129191023.936738-1-kan.liang@linux.intel.com/T/ case PCM::EMR: { std::cerr << "INFO: Trying to detect UPILL PMU through uncore PMU discovery..\n";