summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/book3s64/hash_utils.c
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2020-07-10 16:49:58 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-15 23:10:17 +1000
commitf0479c4bcbd92d1a457d4a43bcab79f29d11334a (patch)
treed41dfcedf5256a7202d3cb4c81b1a8fc259ea55a /arch/powerpc/mm/book3s64/hash_utils.c
parent6068e1a4427e88f5cc62f238d1baf94a8b824ef4 (diff)
selftests/powerpc: Use proper error code to check fault address
ERR_NX_TRANSLATION(CSB.CC=5) is for internal to VAS for fault handling and should not used by OS. ERR_NX_AT_FAULT(CSB.CC=250) is the proper error code should be reported by OS when NX encounters address translation failure. This patch uses CC=250 to determine the fault address when the request is not successful. Signed-off-by: Haren Myneni <haren@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/0315251705baff94f678c33178491b5008723511.camel@linux.ibm.com
Diffstat (limited to 'arch/powerpc/mm/book3s64/hash_utils.c')
0 files changed, 0 insertions, 0 deletions