Packet: Cleaning up packet command and attribute
Review Request #1169 - Created May 2, 2012 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9016:04725594230e --------------------------- Packet: Cleaning up packet command and attribute This patch removes unused commands and attributes from the packet to avoid any confusion. It is part of an effort to clear up how and where different commands and attributes are used.
util/regress all passing (disregarding t1000 and eio)
Posted (May 2, 2012, 1:24 a.m.)
-
src/mem/packet.hh (Diff revision 1) -
it's not used, but we probably need to bring this back. The current implementation isn't great either and needs some help.
Ship It!
Posted (May 8, 2012, 12:39 a.m.)
-
src/mem/packet.hh (Diff revision 1) -
This transaction used to be used by the DMA engine when writing full blocks to memory (see http://repo.gem5.org/gem5/rev/4ac3d9486d6e). I see it's not used anymore since we put the I/O cache in place to deal with partial block writes (see http://repo.gem5.org/gem5/rev/ad0e792a5c78). I don't see anything in the cache code that treats full-block writes specially (other than writebacks, which are different because in that case the requester already had exclusive access). Does this mean the I/O cache is doing read-exclusive operations on every full-cache-block DMA? That seems bad. In other words, instead of getting rid of WriteInvalidateReq because it's not used, should we be trying to use it again?
Posted (May 8, 2012, 2:06 a.m.)
-
src/mem/packet.hh (Diff revision 1) -
hrm.. I think we probably want to do full block writes with writeinvrequest.
Review request changed
Updated (May 21, 2012, 7:51 p.m.)
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+10 -3) |
Ship It!
