From 09218ed397f0df12dd7d4cd21dd6203330e69d06 Mon Sep 17 00:00:00 2001 From: Dylan Johnson Date: Tue, 2 Aug 2016 10:38:03 +0100 Subject: 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 --- src/arch/arm/miscregs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') 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 -- cgit v1.2.3