powerpc/pseries: Fix the H_CALL error code in PLPKS driver
authorNayna Jain <nayna@linux.ibm.com>
Sun, 6 Nov 2022 20:58:35 +0000 (15:58 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:31:50 +0000 (23:31 +1100)
commitaf223e1728c448073d1e12fe464bf344310edeba
treeba8dcf6f46a5f3cd54d3098ab035a6dd989bf576
parent2330757e0be0acad88852e211dcd6106390a729b
powerpc/pseries: Fix the H_CALL error code in PLPKS driver

PAPR Spec defines H_P1 actually as H_PARAMETER and maps H_ABORTED to
a different numerical value.

Fix the error codes as per PAPR Specification.

Fixes: 2454a7af0f2a ("powerpc/pseries: define driver for Platform KeyStore")
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221106205839.600442-3-nayna@linux.ibm.com
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/plpks.c