powerpc/pseries: Log hcall return codes for PLPKS debug
authorRussell Currey <ruscur@russell.cc>
Fri, 10 Feb 2023 08:03:53 +0000 (19:03 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 12 Feb 2023 11:12:38 +0000 (22:12 +1100)
commitebdcd42347157647ffe6c4d2808e4e5c146475d3
treebc7ef60478e4166fe3b601dae72c6f991efdb86c
parent899d9b8fee66da820eadc60b2a70090eb83db761
powerpc/pseries: Log hcall return codes for PLPKS debug

The plpks code converts hypervisor return codes into their Linux
equivalents so that users can understand them.  Having access to the
original return codes is really useful for debugging, so add a
pr_debug() so we don't lose information from the conversion.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230210080401.345462-19-ajd@linux.ibm.com
arch/powerpc/platforms/pseries/plpks.c