From 059122e22b3651cd7cb3d6581176c745c64cbe8e Mon Sep 17 00:00:00 2001 From: Pouya Fotouhi Date: Fri, 12 Jul 2019 12:28:55 -0500 Subject: [PATCH] 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 --- src/cpu/o3/lsq_unit.hh | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2