mem: Ensure deferred snoops are cache-line aligned
This patch fixes a bug where a deferred snoop ended up being to a partial cache line, and not cache-line aligned, all due to how we copy the packet.
This commit is contained in:
parent
4fc16544af
commit
912b20d02a
1 changed files with 1 additions and 1 deletions
2
src/mem/cache/mshr.cc
vendored
2
src/mem/cache/mshr.cc
vendored
|
@ -415,7 +415,7 @@ MSHR::handleSnoop(PacketPtr pkt, Counter _order)
|
|||
// the packet and the request as part of handling the deferred
|
||||
// snoop.
|
||||
PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) :
|
||||
new Packet(new Request(*pkt->req), pkt->cmd);
|
||||
new Packet(new Request(*pkt->req), pkt->cmd, blkSize);
|
||||
|
||||
if (will_respond) {
|
||||
// we are the ordering point, and will consequently
|
||||
|
|
Loading…
Reference in a new issue