powerpc/64s: POWER8 add missing machine check definitions
POWER8 uses bit 36 in SRR1 like POWER9 for i-side machine checks, and contains several conditions for link timeouts that are not currently handled. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
755309be77
commit
c7e790c5f4
|
@ -184,27 +184,33 @@ static const struct mce_ierror_table mce_p7_ierror_table[] = {
|
||||||
{ 0, 0, 0, 0, 0, 0 } };
|
{ 0, 0, 0, 0, 0, 0 } };
|
||||||
|
|
||||||
static const struct mce_ierror_table mce_p8_ierror_table[] = {
|
static const struct mce_ierror_table mce_p8_ierror_table[] = {
|
||||||
{ 0x00000000001c0000, 0x0000000000040000, true,
|
{ 0x00000000081c0000, 0x0000000000040000, true,
|
||||||
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_IFETCH,
|
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_IFETCH,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000000001c0000, 0x0000000000080000, true,
|
{ 0x00000000081c0000, 0x0000000000080000, true,
|
||||||
MCE_ERROR_TYPE_SLB, MCE_SLB_ERROR_PARITY,
|
MCE_ERROR_TYPE_SLB, MCE_SLB_ERROR_PARITY,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000000001c0000, 0x00000000000c0000, true,
|
{ 0x00000000081c0000, 0x00000000000c0000, true,
|
||||||
MCE_ERROR_TYPE_SLB, MCE_SLB_ERROR_MULTIHIT,
|
MCE_ERROR_TYPE_SLB, MCE_SLB_ERROR_MULTIHIT,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000000001c0000, 0x0000000000100000, true,
|
{ 0x00000000081c0000, 0x0000000000100000, true,
|
||||||
MCE_ERROR_TYPE_ERAT,MCE_ERAT_ERROR_MULTIHIT,
|
MCE_ERROR_TYPE_ERAT,MCE_ERAT_ERROR_MULTIHIT,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000000001c0000, 0x0000000000140000, true,
|
{ 0x00000000081c0000, 0x0000000000140000, true,
|
||||||
MCE_ERROR_TYPE_TLB, MCE_TLB_ERROR_MULTIHIT,
|
MCE_ERROR_TYPE_TLB, MCE_TLB_ERROR_MULTIHIT,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000000001c0000, 0x0000000000180000, true,
|
{ 0x00000000081c0000, 0x0000000000180000, true,
|
||||||
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_PAGE_TABLE_WALK_IFETCH,
|
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_PAGE_TABLE_WALK_IFETCH,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000000001c0000, 0x00000000001c0000, true,
|
{ 0x00000000081c0000, 0x00000000001c0000, true,
|
||||||
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_IFETCH,
|
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_IFETCH,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
|
{ 0x00000000081c0000, 0x0000000008000000, true,
|
||||||
|
MCE_ERROR_TYPE_LINK,MCE_LINK_ERROR_IFETCH_TIMEOUT,
|
||||||
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
|
{ 0x00000000081c0000, 0x0000000008040000, true,
|
||||||
|
MCE_ERROR_TYPE_LINK,MCE_LINK_ERROR_PAGE_TABLE_WALK_IFETCH_TIMEOUT,
|
||||||
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0, 0, 0, 0, 0, 0 } };
|
{ 0, 0, 0, 0, 0, 0 } };
|
||||||
|
|
||||||
static const struct mce_ierror_table mce_p9_ierror_table[] = {
|
static const struct mce_ierror_table mce_p9_ierror_table[] = {
|
||||||
|
@ -289,6 +295,12 @@ static const struct mce_derror_table mce_p8_derror_table[] = {
|
||||||
{ 0x00004000, true,
|
{ 0x00004000, true,
|
||||||
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_PAGE_TABLE_WALK_LOAD_STORE,
|
MCE_ERROR_TYPE_UE, MCE_UE_ERROR_PAGE_TABLE_WALK_LOAD_STORE,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
|
{ 0x00002000, true,
|
||||||
|
MCE_ERROR_TYPE_LINK, MCE_LINK_ERROR_LOAD_TIMEOUT,
|
||||||
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
|
{ 0x00001000, true,
|
||||||
|
MCE_ERROR_TYPE_LINK, MCE_LINK_ERROR_PAGE_TABLE_WALK_LOAD_STORE_TIMEOUT,
|
||||||
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
{ 0x00000800, true,
|
{ 0x00000800, true,
|
||||||
MCE_ERROR_TYPE_ERAT, MCE_ERAT_ERROR_MULTIHIT,
|
MCE_ERROR_TYPE_ERAT, MCE_ERAT_ERROR_MULTIHIT,
|
||||||
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
MCE_INITIATOR_CPU, MCE_SEV_ERROR_SYNC, },
|
||||||
|
|
Loading…
Reference in New Issue