Review Board 2.0.15

mem: Order packet queue only on matching addresses

Review Request #3153 - Created Oct. 13, 2015 and submitted

Andreas Hansson
Changeset 11176:3a4d9e14ae5d
mem: Order packet queue only on matching addresses

Instead of conservatively enforcing order for all packets, which may
negatively impact the simulated-system performance, this patch updates
the packet queue such that it only applies the restriction if there
are already packets with the same address in the queue.

The basic need for the order enforcement is due to coherency
interactions where requests/responses to the same cache line must not
over-take each other. We rely on the fact that any packet that needs
order enforcement will have a block-aligned address. Thus, there is no
need for the queue to know about the cacheline size.

Review request changed
Updated (Nov. 6, 2015, 7:34 a.m.)

Status: Closed (submitted)