mem-ruby: removed unused checkCoherence
authorTiago Mück <tiago.muck@arm.com>
Tue, 15 Oct 2019 21:02:55 +0000 (16:02 -0500)
committerTiago Mück <tiago.muck@arm.com>
Wed, 6 May 2020 14:42:33 +0000 (14:42 +0000)
Change-Id: I108b95513f2828470fe70bad5f136b0721598582
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21924
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/protocol/RubySlicc_Types.sm
src/mem/ruby/system/GPUCoalescer.cc
src/mem/ruby/system/GPUCoalescer.hh
src/mem/ruby/system/Sequencer.cc
src/mem/ruby/system/Sequencer.hh

index fc1f7f39890f6a194b04aa815ed3bf656ea23feb..ff574b5e2854703d724f6427a525c8b7c7629d1a 100644 (file)
@@ -128,7 +128,6 @@ structure (Sequencer, external = "yes") {
   void writeCallbackScFail(Addr, DataBlock);
   bool llscCheckMonitor(Addr);
 
-  void checkCoherence(Addr);
   void evictionCallback(Addr);
   void recordRequestType(SequencerRequestType);
   bool checkResourceAvailable(CacheResourceType, Addr);
@@ -148,7 +147,6 @@ structure (GPUCoalescer, external = "yes") {
                      Cycles, Cycles, Cycles);
   void writeCallback(Addr, MachineType, DataBlock,
                      Cycles, Cycles, Cycles, bool);
-  void checkCoherence(Addr);
   void evictionCallback(Addr);
   void recordCPReadCallBack(MachineID, MachineID);
   void recordCPWriteCallBack(MachineID, MachineID);
@@ -169,7 +167,6 @@ structure (VIPERCoalescer, external = "yes") {
                      Cycles, Cycles, Cycles, bool);
   void invCallback(Addr);
   void wbCallback(Addr);
-  void checkCoherence(Addr);
   void evictionCallback(Addr);
 }
 
index 93275cbf32cdd5d51d87a9cfc246f0a2aac9ff4a..a7b658ee13e4f69379ea084dddadffc637d59c95 100644 (file)
@@ -976,13 +976,6 @@ GPUCoalescer::print(ostream& out) const
         << "]";
 }
 
-// this can be called from setState whenever coherence permissions are
-// upgraded when invoked, coherence violations will be checked for the
-// given block
-void
-GPUCoalescer::checkCoherence(Addr addr)
-{
-}
 
 void
 GPUCoalescer::recordRequestType(SequencerRequestType requestType) {
index 13211738d0874938c81709b9a6ac7c7a442199cd..3230ef1ee85f9d5058c43388b5326e31cd8e469d 100644 (file)
@@ -176,7 +176,6 @@ class GPUCoalescer : public RubyPort
     bool empty() const;
 
     void print(std::ostream& out) const;
-    void checkCoherence(Addr address);
 
     void markRemoved();
     void removeRequest(GPUCoalescerRequest* request);
index de7941a498cbfd1d7c6e6a161999e22eb350a85a..aa134f4faa6d88b153554ee99d9278797227c2d1 100644 (file)
@@ -738,14 +738,6 @@ Sequencer::print(ostream& out) const
         << "]";
 }
 
-// this can be called from setState whenever coherence permissions are
-// upgraded when invoked, coherence violations will be checked for the
-// given block
-void
-Sequencer::checkCoherence(Addr addr)
-{
-}
-
 void
 Sequencer::recordRequestType(SequencerRequestType requestType) {
     DPRINTF(RubyStats, "Recorded statistic: %s\n",
index bb93607192aa108ee0aa7fdb08eb13ab73a0e4f6..ebca56834fb1b2aec60912b2e741fc43762a258b 100644 (file)
@@ -124,7 +124,6 @@ class Sequencer : public RubyPort
     { deschedule(deadlockCheckEvent); }
 
     void print(std::ostream& out) const;
-    void checkCoherence(Addr address);
 
     void markRemoved();
     void evictionCallback(Addr address);