powerpc/pseries/mm: Improve error reporting on HCALL failures
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Fri, 29 Jun 2018 08:39:04 +0000 (14:09 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:03:19 +0000 (22:03 +1000)
commitca42d8d2d6c55822fa8f1d230ffa3b78824fb60c
treeed4b5ab15b2306c4e20d63085891a8034b999ffb
parent65471d763e9178a8dc6f05db1c9c09c292f75c28
powerpc/pseries/mm: Improve error reporting on HCALL failures

This patch adds error reporting to H_ENTER and H_READ hcalls. A
failure for both these hcalls are mostly fatal and it would be good to
log the failure reason.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/lpar.c