base.cc (13477:044307c0d0b8) | base.cc (13478:59414c401cd9) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2018 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 484 unchanged lines hidden (view full) --- 493 494 if (blk && blk->isWritable() && !pkt->req->isCacheInvalidate()) { 495 // If at this point the referenced block is writable and the 496 // response is not a cache invalidate, we promote targets that 497 // were deferred as we couldn't guarrantee a writable copy 498 mshr->promoteWritable(); 499 } 500 | 1/* 2 * Copyright (c) 2012-2013, 2018 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 484 unchanged lines hidden (view full) --- 493 494 if (blk && blk->isWritable() && !pkt->req->isCacheInvalidate()) { 495 // If at this point the referenced block is writable and the 496 // response is not a cache invalidate, we promote targets that 497 // were deferred as we couldn't guarrantee a writable copy 498 mshr->promoteWritable(); 499 } 500 |
501 serviceMSHRTargets(mshr, pkt, blk, writebacks); | 501 serviceMSHRTargets(mshr, pkt, blk); |
502 503 if (mshr->promoteDeferredTargets()) { 504 // avoid later read getting stale data while write miss is 505 // outstanding.. see comment in timingAccess() 506 if (blk) { 507 blk->status &= ~BlkReadable; 508 } 509 mshrQueue.markPending(mshr); --- 1936 unchanged lines hidden --- | 502 503 if (mshr->promoteDeferredTargets()) { 504 // avoid later read getting stale data while write miss is 505 // outstanding.. see comment in timingAccess() 506 if (blk) { 507 blk->status &= ~BlkReadable; 508 } 509 mshrQueue.markPending(mshr); --- 1936 unchanged lines hidden --- |