[SRU][F][I][J][PATCH 0/2] kernel: Add support for CPU-MF counter second version 7
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Wed Feb 16 11:43:34 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1960182
SRU Justification:
[Impact]
* Daemon cpacfstatsd fails on start up of the system
with this error message cpacfstatsd: Event DEA_FUNCTIONS for pmu
cpum_cf not found (2:No such file or directory)
* When the CPU Measurement facility device driver is initialized during
kernel boot, it reads out the CPU Measurement facility counter
hardware first and second version numbers. Depending on these numbers
the device driver exports attributes in the sysfs directory
/sys/devices/cpum_cf/events. When the CPM-MF second version number is
not known, no attributes of the crypto counter set are exported.
However the cpacfstatsd program scans the sysfs directory
/sys/devices/cpum_cf/events for attribute files of the crypto counter
set, for example attribute file DEA_FUNCTIONS and others.
[Fix]
* Add support for the new CPU-MF Measurement counter
facility second version number 7
* Two patches (backport+cherry) for Focal.
* Two patches (clean cherry) for Impish and Jammy.
[Test Plan]
* Tests provided by IBM. See also bug report.
[Where problems could occur]
* s390x only.
Thomas Richter (2):
s390/cpumf: Support for CPU Measurement Facility CSVN 7
s390/cpumf: Support for CPU Measurement Sampling Facility LS bit
arch/s390/include/asm/cpu_mf.h | 4 +++-
arch/s390/kernel/perf_cpum_cf_diag.c | 4 ++--
arch/s390/kernel/perf_cpum_cf_events.c | 6 +++---
arch/s390/kernel/perf_cpum_sf.c | 2 +-
4 files changed, 9 insertions(+), 7 deletions(-)
--
2.32.0
More information about the kernel-team
mailing list