diff options
| author | Srish Srinivasan <ssrish@linux.ibm.com> | 2026-09-23 23:58:06 +0530 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-29 22:09:45 +0530 |
| commit | 0d0eafedcaf4939819d38ede6ad355ea37acd978 (patch) | |
| tree | febf4448446da3606e48c35af9593003ac832ba9 /tools/perf/scripts/python/task-analyzer.py | |
| parent | d52a1659cb1718f93166ab8dd8621237e564a1c4 (diff) | |
pseries/plpks: fix error code for wrapping key reads
PLPKS variables with the PLPKS_WRAPPINGKEY policy bit set are not
readable. Return -EPERM instead of -EINVAL in this case to better
reflect the access restriction being enforced.
Fixes: 133aa79e211d ("pseries/plpks: add HCALLs for PowerVM Key Wrapping Module")
Cc: stable@vger.kernel.org # 7.0
Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Tested-by: R Nageswara Sastry <rnsastry@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260923182816.151451-3-ssrish@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
