diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2022-06-14 13:40:46 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-06-23 18:23:59 +0300 |
commit | 541a496644512ebed429b33f19a3fadfb19c6ee7 (patch) | |
tree | ccbb694af447eefee9542bb568b3ccb0e428e9e0 /drivers | |
parent | be857b7f77d130dbbd47c91fc35198b040f35865 (diff) | |
download | linux-541a496644512ebed429b33f19a3fadfb19c6ee7.tar.xz |
s390/pai: Prevent invalid event number for pai_crypto PMU
The pai_crypto PMU has to check the event number. It has to be in
the supported range. This is not the case, the lower limit is not
checked. Fix this and obey the lower limit.
Fixes: 39d62336f5c1 ("s390/pai: add support for cryptography counters")
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Suggested-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions