From: Dam Sunwoo Date: Wed, 13 Aug 2014 10:57:36 +0000 (-0400) Subject: arm: change MISCREG_L2ERRSR to warn not fail X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b04d6c7c33d779654c5a4fc614be4e20de2010c6;p=gem5.git arm: change MISCREG_L2ERRSR to warn not fail Some newer binaries compiled for Versatile Express TC2 contain access to implementation specific L2MERRSR registers. This causes an infinite loop of undefined exceptions. This patch changes the behavior to "warn not fail" to keep the workloads going. --- diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc index 313ac18f9..4c950a643 100644 --- a/src/arch/arm/miscregs.cc +++ b/src/arch/arm/miscregs.cc @@ -770,7 +770,7 @@ bitset miscRegInfo[NUM_MISCREGS] = { // MISCREG_CPUMERRSR bitset(string("1111111111000000000")), // MISCREG_L2MERRSR - bitset(string("1111111111000000000")), + bitset(string("1111111111000000010")), // AArch64 registers (Op0=2) // MISCREG_MDCCINT_EL1 @@ -1330,7 +1330,7 @@ bitset miscRegInfo[NUM_MISCREGS] = { // MISCREG_CPUMERRSR_EL1 bitset(string("1111111111000000001")), // MISCREG_L2MERRSR_EL1 - bitset(string("1111111111000000001")), + bitset(string("1111111111000000010")), // MISCREG_CBAR_EL1 bitset(string("0101010101000000001")),