diff --git a/src/cpu/minor/lsq.cc b/src/cpu/minor/lsq.cc index c5e38c78d..b05ae514c 100644 --- a/src/cpu/minor/lsq.cc +++ b/src/cpu/minor/lsq.cc @@ -476,6 +476,8 @@ LSQ::SplitDataRequest::makeFragmentPackets() makePacketForRequest(*fragment, isLoad, this, request_data); fragmentPackets.push_back(fragment_packet); + /* Accumulate flags in parent request */ + request.setFlags(fragment->getFlags()); } /* Might as well make the overall/response packet here */ @@ -1029,7 +1031,7 @@ LSQ::tryToSendToTransfers(LSQRequestPtr request) /* Remember if this is an access which can't be idly * discarded by an interrupt */ - if (!bufferable) { + if (!bufferable && !request->issuedToMemory) { numAccessesIssuedToMemory++; request->issuedToMemory = true; } diff --git a/src/cpu/minor/lsq.hh b/src/cpu/minor/lsq.hh index 0998395e0..183986826 100644 --- a/src/cpu/minor/lsq.hh +++ b/src/cpu/minor/lsq.hh @@ -585,7 +585,11 @@ class LSQ : public Named protected: /** Count of the number of mem. accesses which have left the - * requests queue and are in the 'wild' in the memory system. */ + * requests queue and are in the 'wild' in the memory system and who + * *must not* be interrupted as they are not normal cacheable + * accesses. This is a count of the number of in-flight requests + * with issuedToMemory set who have visited tryToSendRequest at least + * once */ unsigned int numAccessesInMemorySystem; /** Number of requests in the DTLB in the requests queue */