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>
node_ptr->physAddr, node_ptr->size, node_ptr->flags, masterID);
req->setReqInstSeqNum(node_ptr->seqNum);
+ // If this is not done it triggers assert in L1 cache for invalid contextId
+ req->setContext(ContextID(0));
+
req->setPC(node_ptr->pc);
// If virtual address is valid, set the virtual address field
// of the request.