Review Board 2.0.15


ruby: change clock periods for requests associated with ruby port

Review Request #3451 - Created April 15, 2016 and updated

Information
Brandon Potter
gem5
default
Reviewers
Default
Changeset 11444:4e99eb9997e2
---------------------------
ruby: change clock periods for requests associated with ruby port

This suggestion was brought up here: reviews.gem5.org/r/3442

This change involves using the clock period set by a ruby port (instead of
the clock period used by the ruby system) when issuing requests through
the ruby port object to attached objects.

   

Issue Summary

2 0 1 1
Review request changed
Updated (April 21, 2016, 12:49 p.m.)

Description:

~  

Changeset 11444:32d1739cbfd7

  ~

Changeset 11444:4e99eb9997e2

   
   

ruby: change clock periods for requests associated with ruby port

   
   

This suggestion was brought up here: reviews.gem5.org/r/3442

   
   

This change involves using the clock period set by a ruby port (instead of

    the clock period used by the ruby system) when issuing requests through
    the ruby port object to attached objects.

Diff:

Revision 2 (+4 -6)

Show changes

Posted (April 23, 2016, 2:09 a.m.)



  
src/mem/ruby/system/RubyPort.cc (Diff revision 2)
 
 

May I propose we take one step further and do not use a queued port here?

This should be as easy as just returning rp->pioSlavePort.sendTimingResp(pkt);

The retry should not be difficult to wire up.

I really don't think there is a need for a queued port here.

  1. I certainly agree that we should eventually pull out the QueuedPort, but I think that would be beyond the scope of this fix.

  2. I'd suggest to JFDI :-)

    It should be a 50 line fix in the end, and avoids shaking up all the stats twice.

  3. I'm dropping the issue because it's unrelated to the original patch as Joel mentioned.

    I understand that it's important, but I'd have to come back to this later when I have time to spend on making the changes and testing it. We've talked about it here at AMD and it will be solved at some point in the future.

Ship it!
Posted (April 23, 2016, 11:19 a.m.)
Ship It!