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>
This commit is contained in:
Thomas Richter 2024-03-27 09:22:43 +01:00 • committed by Alexander Gordeev
commit f10933cbd2
2 changed files with 4 additions and 9 deletions