cpu: Set ContextId on request from trace CPU
authorJason Lowe-Power <jason@lowepower.com>
Thu, 3 Sep 2020 15:21:14 +0000 (08:21 -0700)
committerJason Lowe-Power <power.jg@gmail.com>
Fri, 4 Sep 2020 18:48:27 +0000 (18:48 +0000)
commit21df40497c89fba6a0c9d7138930c46937ef5fea
treef670da27f964362901f2afc327fb5cd86634b1b7
parentd1c6c96b0a13ec5d5214bae008f4a5946007de72
cpu: Set ContextId on request from trace CPU

Adds a contextId to the trace CPU in one more case that was missing.
Without this a panic is triggered in the cache.

Change-Id: I78bd70ad1e3657c9a6a1d56c234c007c2e2b586c
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34035
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/trace/trace_cpu.cc