From: Dylan Johnson Date: Tue, 2 Aug 2016 09:38:03 +0000 (+0100) Subject: arm: warn not fail on use of missing miscreg CNTHCTL_EL2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09218ed397f0df12dd7d4cd21dd6203330e69d06;p=gem5.git arm: warn not fail on use of missing miscreg CNTHCTL_EL2 During host bootup, KVM reads/writes to CNTHCTL_EL2. Because this miscreg has not been implemented, the simulation would end there. This patch causes the simulation to warn about the read/write instead of fail. Change-Id: If034bfd0818a9a5e50c5fe86609e945258c96fa3 --- diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc index 9514997e3..c4915cb54 100644 --- a/src/arch/arm/miscregs.cc +++ b/src/arch/arm/miscregs.cc @@ -1291,7 +1291,7 @@ bitset miscRegInfo[NUM_MISCREGS] = { // MISCREG_CNTVOFF_EL2 bitset(string("11111100000000000001")), // MISCREG_CNTHCTL_EL2 - bitset(string("01111000000000000000")), + bitset(string("01111000000000000100")), // MISCREG_CNTHP_TVAL_EL2 bitset(string("01111000000000000000")), // MISCREG_CNTHP_CTL_EL2