gem5/src
Andreas Sandberg d2254e034e dev, arm: Fix multi-core KVM race in the generic timer
The generic timer sometimes needs to access global state. This can
lead to race conditions when simulating a multi-core KVM system where
each core lives in its own thread. In that case, the setMiscReg and
readMiscReg methods are called from the thread owning the CPU and not
the global device thread.

Change-Id: Ie3e982258648c8562cce0b30a0c122dfbfaf42cd
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Gabor Dozsa <gabor.dozsa@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2460
Reviewed-by: Weiping Liao <weipingliao@google.com>
2017-04-03 16:37:55 +00:00
..
arch arm: fix template instantiation warning in clang 2017-04-03 13:53:17 +01:00
base dev: Align BAR0 size to power of 2 for VirtIO devices 2017-04-03 16:36:15 +00:00
cpu cpu: Print progress messages in Trace CPU 2017-03-16 13:52:40 +00:00
dev dev, arm: Fix multi-core KVM race in the generic timer 2017-04-03 16:37:55 +00:00
doc sim: Adding support for power models 2016-06-06 17:16:44 +01:00
doxygen MEM: Put memory system document into doxygen 2012-09-25 11:49:41 -05:00
gpu-compute syscall-emul: Move memState into its own file 2017-03-09 19:19:38 +00:00
kern syscall-emul: Add functionality to open syscalls 2017-03-09 22:42:45 +00:00
mem misc: add missing copyright/author information in previous commit 2017-03-09 17:22:52 +00:00
proto proto: Fix warnings for protoc v3 2017-01-27 15:07:20 -06:00
python python: Automatically disable listeners in batch setups 2017-03-21 10:30:02 +00:00
sim syscall-emul: Hotfix for FreeBSD/Mac builds 2017-03-17 18:40:33 +00:00
unittest misc: Update #!env calls for python to explicit version 2017-02-10 10:00:18 -05:00
Doxyfile Doxygen: Update the version of the Doxyfile 2012-10-11 06:38:42 -04:00
SConscript python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00