diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2025-08-25 09:53:27 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-08-28 16:47:58 +0200 |
commit | 85941afd2c404247e583c827fae0a45da1c1d92c (patch) | |
tree | bc80af88151bad55c2c41cd330389e166a89e1b0 /scripts/rust_is_available_test.py | |
parent | 57834ce5a6a47df282c8419019ba5495eac58fb9 (diff) |
s390/pai: Deny all events not handled by this PMU
Each PAI PMU device driver returns -EINVAL when an event is out of
its accepted range. This return value aborts the search for an
alternative PMU device driver to handle this event.
Change the return value to -ENOENT. This return value is used to
try other PMUs instead. This makes the PMUs more robust when
the sequence of PMU device driver initialization changes (at boot time)
or by using modules.
Fixes: 39d62336f5c12 ("s390/pai: add support for cryptography counters")
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/rust_is_available_test.py')
0 files changed, 0 insertions, 0 deletions