From b04d6c7c33d779654c5a4fc614be4e20de2010c6 Mon Sep 17 00:00:00 2001 From: Dam Sunwoo Date: Wed, 13 Aug 2014 06:57:36 -0400 Subject: [PATCH] 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. --- src/arch/arm/miscregs.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")),