Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/mce: Modify the real address error logging messages

To avoid ambiguity, modify the strings in real address error
logging messages to "foreign/control memory" from "foreign",
Since the error discriptions in P9 user manual and P10 user
manual are different for same type of errors.

P9 User Manual for MCE:
DSISR:59 Host real address to foreign space during translation.
DSISR:60 Host real address to foreign space on a load or store
access.

P10 User Manual for MCE:
DSISR:59 D-side tablewalk used a host real address in the
control memory address range.
DSISR:60 D-side operand access to control memory address space.

Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220107141428.67862-3-ganeshgr@linux.ibm.com

authored by

Ganesh Goudar and committed by
Michael Ellerman
0a182611 0f4ef8a3

+4 -4
+4 -4
arch/powerpc/kernel/mce.c
··· 401 401 static const char *mc_ra_types[] = { 402 402 "Indeterminate", 403 403 "Instruction fetch (bad)", 404 - "Instruction fetch (foreign)", 404 + "Instruction fetch (foreign/control memory)", 405 405 "Page table walk ifetch (bad)", 406 - "Page table walk ifetch (foreign)", 406 + "Page table walk ifetch (foreign/control memory)", 407 407 "Load (bad)", 408 408 "Store (bad)", 409 409 "Page table walk Load/Store (bad)", 410 - "Page table walk Load/Store (foreign)", 411 - "Load/Store (foreign)", 410 + "Page table walk Load/Store (foreign/control memory)", 411 + "Load/Store (foreign/control memory)", 412 412 }; 413 413 static const char *mc_link_types[] = { 414 414 "Indeterminate",