cpu-o3: Set packet data type for IPR read

This change assigns packet data type to static for IPR read.
Caused by change (e13d6dc9c0),
and has been reported a few times in the mailing list.

Change-Id: I0f02c20a16824e220df876e9e552bbc1c9636f95
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19449
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Pouya Fotouhi
2019-07-12 12:28:55 -05:00
committed by Pouya Fotouhi
parent 42f32d159b
commit 059122e22b

View File

@@ -667,6 +667,8 @@ LSQUnit<Impl>::read(LSQRequest *req, int load_idx)
ThreadContext *thread = cpu->tcBase(lsqID);
PacketPtr main_pkt = new Packet(req->mainRequest(), MemCmd::ReadReq);
main_pkt->dataStatic(load_inst->memData);
Cycles delay = req->handleIprRead(thread, main_pkt);
WritebackEvent *wb = new WritebackEvent(load_inst, main_pkt, this);