cpu: Fix rescheduling of progress check events
authorTiago Muck <tiago.muck@arm.com>
Thu, 24 Jan 2019 20:59:04 +0000 (14:59 -0600)
committerTiago Mück <tiago.muck@arm.com>
Thu, 30 May 2019 16:02:27 +0000 (16:02 +0000)
commitf26f3e22b331dfdd3dca1eea11adf9ed81ef6f05
treee994a3b25b481c4f4a2e3e6ce2749a30423772a1
parente12da9b084c67c5f66359273ac3a9ec427953108
cpu: Fix rescheduling of progress check events

noRequestEvent needs to be rescheduled on recvRetry, otherwise the timeout
may be triggered even though packets are being eventually sent.
noResponseEvent scheduling is also fixed. This timeout should not be
active when we are not expecting a response.

Change-Id: If9edb75b5b803caf9f99bf41ea3948b15a3f3d71
Signed-off-by: Tiago Muck <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18793
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/testers/memtest/memtest.cc