s390/cpum_cf: make crypto counters upward compatible across machine types
authorThomas Richter <tmricht@linux.ibm.com>
Wed, 27 Mar 2024 08:22:43 +0000 (09:22 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 9 Apr 2024 15:29:56 +0000 (17:29 +0200)
commitf10933cbd2dfddf6273698a45f76db9bafd8150f
treea8a9edf5a2d536a44fb26d1380ffb595d87a621e
parent4f00d4ef6634b31d6026b9bf6bb1a90c889e2347
s390/cpum_cf: make crypto counters upward compatible across machine types

The CPU Measurement facility crypto counter set functionality
is defined by the Second Counter Version Number. This number
varies between machine types, but is upward compatible.
Lessen the checks to reflect this behavior.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/perf_cpum_cf.c
arch/s390/kernel/perf_cpum_cf_events.c