File _patchinfo of Package patchinfo.39475
<patchinfo incident="39475"> <packager>alnovak</packager> <rating>moderate</rating> <category>recommended</category> <summary>Recommended update for pcm</summary> <description>This update for pcm fixes the following issues: - Update to version 202502 * Xeon 6 SoC (GNR-D) support * add Grand Ridge (GRR) support * pcm-power: support tpmi perf limit reason telemetry for GNR and SRF * add ARL (Arrow Lake) support * add basic support for Elkhart Lake and Jasper Lake CPUs * pcm-raw: implement support for tpmi registers * pcm-raw: add PMT XML lookup * support SYS energy API * pcm-sensor-server: change protocol to IPv6, this should work fine on Linux dual stack systems * introduce socketUniqueCoreID to again create a unique Core ID for the JSON and Prometheus output * pcm-numa: enable support for GNR * pcm-tsx: support GNR * introduce and use PCM_DEBUG_LEVEL env variable to print debug messages * support pcm-iio inside docker container * pcm: make --color default on UNIX-like OSes * pcm: introduce --no-color option * pcm: add csv output for system power * make c-state output more compact * use a relative path in LINUX_SYSTEMD_UNITDIR (@hexchain) * perf optimization for accumulating socket CStateResidency * create unique core ids and fix threads_per_core * pcm-tpmi: fix multiple bugs * disable libasan by default due to bugs in libasan * Intel Xeon 6 processors with P-cores (Granite Rapids) support * Lunar Lake support * support pcm-power on Sierra Forest processors * grafana: add core and uncore frequencies metrics * grafana: add TMA and local/remote access ratio metrics * pcm-tpmi: add -i instances option * pcm-sensor-server: enable compilation with SSL * pcm-sensor-server: addition of a fuzzing client and subsequent rewrite of parts of the network communication and SSL detection * pcm-sensor-server: stop using deprecated SSL functions * pcm-memory: replace NODE with SKT to avoid confusion with NUMA NODEs * avoid using the hard-coded /usr/share/pcm/ path * grafana: change the refresh period to 1s * grafana: show energy charts after freq charts * pcm-raw: make ICX PMURegisterDeclarations available on older steppings * add -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer and other hardening * set pointers to nullptr after delete or free * add PCM_ENFORCE_MBM option (env variable) * erase unneeded environment variables * handle TPMI initilization for systems without access to MCFG tables e.g. docker/VM * fix ssl accept issues * fix double free * pcm-raw: really use the alt_path if it exists (a bug fix) * link 1 does not have own speed register only on QPI * grafana: don't show unsupported metrics in prometheus * disable unsupported freq metrics for prometheus * fix locking in AcceleratorCounterState::getInstance() * fix a crash due to uninitialized array * avoid pre-mature PCM init triggered by global counter state init * fix a heap-buffer-overflow and a memory leak and throw exception with verbose reason * do not include shared library code into pcm-core executable * address issue #758 SPR UPI discovery table is broken on SPR MCC * Xeon 6E Processor Support: Added support for Xeon 6E processor (Sierra Forest/SRF). * pcm-iio: Enabled pcm-iio for Sierra Forest (SRF) processors. * Intel QAT Support: Added support for QAT Linux in-tree driver addressing issue#547. * Meteor Lake Support: Added support for Meteor Lake processors. * Intel PMT raw counter support in pcm-raw: Added support for Intel Platform Monitoring Technology Telemetry (Intel PMT) raw counters. * Client CPU Energy Metrics: Support for client CPU energy metrics in Grafana. * Colorful Display: Added --color option for colorful display in the command-line interface. * CPU Support: Support for more CPUs added for localMemoryRequestRatioMetric. * Precise UPI Speed Detection: Improved UPI speed detection on SPR using UPI_SPEED_REGISTER. * Metric Version 2: Made metric version 2 the default setting. * Dashboard Graph: Replaced Graph with Timeseries for better visualization in the dashboard. * Incorrect PMON IDs: Fixed incorrect PMON IDs for HCx stacks. * Ubox PMU Declarations: Added declarations for ubox PMU. * Crash on BDX: Fixed a crash on BDX when trying to program IRP or IIO PMU. * Less Useful Metrics: Disabled less useful metrics to streamline performance monitoring metric display. * pcm: implement alternative metrics option -m (UTIL=C0 residency for cores, CFREQ=core frequency in GHz) and make it default * hardened binaries with "-Wl,-z,now" option on Linux * pcm-raw: fall-back to older stepping PMURegisterDeclarations if available * Detect UPI LL PMUs on SPR/EMR through uncore PMU discovery and detect IMC PMUs on SPR/EMR through uncore PMU discovery * Fixed parameter parsing in pcm-sensor-server * Added Emerald Rapids processor support * Added support for TMA Level 2 metrics on SPR+ * Added support of PP0 and PP1 energy metrics * Added -c option (corelist) to pcm-numa and pcm-msr utilites * pcm-msr new options added: iterate with seconds between each iteration and write results of each iteration to file * Removed hardcoded value for max supported sockets in pcm-iio tool * Rely on CPUID leaf 0x1F topology info when available </description> </patchinfo>