From: Pouya Fotouhi Date: Fri, 12 Jul 2019 17:28:55 +0000 (-0500) Subject: cpu-o3: Set packet data type for IPR read X-Git-Tag: v19.0.0.0~736 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=059122e22b3651cd7cb3d6581176c745c64cbe8e;p=gem5.git cpu-o3: Set packet data type for IPR read This change assigns packet data type to static for IPR read. Caused by change (e13d6dc9c0d7a4ae0215f1ee6793eb32570c5169), 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 Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/cpu/o3/lsq_unit.hh b/src/cpu/o3/lsq_unit.hh index d3f1d0712..cd512ced7 100644 --- a/src/cpu/o3/lsq_unit.hh +++ b/src/cpu/o3/lsq_unit.hh @@ -667,6 +667,8 @@ LSQUnit::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);