-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2238/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10190:93d067517551
---------------------------
arm: Panics in miscreg read functions can be tripped by O3 model

Unimplemented miscregs for the generic timer were guarded by panics
in arm/isa.cc which can be tripped by the O3 model if it speculatively
executes a wrong path containing a mrs instruction with a bad miscreg
index. These registers were flagged as implemented and accessible.
This patch changes the miscreg info bit vector to flag them as
unimplemented and inaccessible. In this case, and UndefinedInst
fault will be generated if the register access is not trapped
by a hypervisor.


Diffs
-----

  src/arch/arm/isa.cc e40b35147270 
  src/arch/arm/isa/insts/misc.isa e40b35147270 
  src/arch/arm/miscregs.cc e40b35147270 

Diff: http://reviews.gem5.org/r/2238/diff/


Testing
-------


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to