ACK: [SRU][F][I][J][PATCH 0/2] kernel: Add support for CPU-MF counter second version 7
Stefan Bader
stefan.bader at canonical.com
Thu Feb 17 10:38:12 UTC 2022
On 16.02.22 12:43, Krzysztof Kozlowski wrote:
> 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(-)
>
Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220217/69c3d9db/attachment.sig>
More information about the kernel-team
mailing list