From dbb44d6c54db2dbc34cab956e5e807b34c89c63c 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";