summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2022-06-14 13:40:46 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2022-06-23 18:23:59 +0300
commit541a496644512ebed429b33f19a3fadfb19c6ee7 (patch)
treeccbb694af447eefee9542bb568b3ccb0e428e9e0 /drivers
parentbe857b7f77d130dbbd47c91fc35198b040f35865 (diff)
downloadlinux-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