Searched hist:4286 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/cpu/kvm/ | ||
H A D | base.cc | 12154:9a9bc3c1b788 Thu Jul 20 12:32:00 EDT 2017 Andreas Sandberg <andreas.sandberg@arm.com> cpu, kvm: Fix deadlock issue when resuming a drained system The KVM CPU sometimes needs to access devices when drain() is called. This typically happens on ARM when synchronizing devices that use the system register interface. When called from drain(), the event queue isn't locked since drain is called from the outside when the simulator isn't servicing any events. In such cases, performing a migration to the device's queue will unlock a mutex that isn't locked. This typically results in a deadlock when resuming the system since the lock will be in an undefined state. Change-Id: Ibdcc2e034e916a929124f297e72aae306cf66728 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/4286 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> |
Completed in 16 milliseconds