<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [BSW]The infomation read from RC6 status register is wrong"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80703#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [BSW]The infomation read from RC6 status register is wrong"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80703">bug 80703</a>
              from <span class="vcard"><a class="email" href="mailto:jinxianx.guo@intel.com" title="Guo Jinxian <jinxianx.guo@intel.com>"> <span class="fn">Guo Jinxian</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=102416" name="attach_102416" title="dmesg">attachment 102416</a> <a href="attachment.cgi?id=102416&action=edit" title="dmesg">[details]</a></span>
dmesg

(In reply to <a href="show_bug.cgi?id=80703#c4">comment #4</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=102378" name="attach_102378" title="i915/drm/chv: calculate rc6 residency correctly">attachment 102378</a> <a href="attachment.cgi?id=102378&action=edit" title="i915/drm/chv: calculate rc6 residency correctly">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=80703&attachment=102378'>[review]</a> [review]
> i915/drm/chv: calculate rc6 residency correctly</span >

On latest -next-queued() with the patch, the result shows below:

[root@x-bsw01 tools]# ./intel_reg_read 0x130094
0x130094 : 0xA1


[root@x-bsw01 tests]# ./pm_rc6_residency
IGT-Version: 1.7-g838f321 (x86_64) (Linux: 3.16.0-rc4_kcloud_97a14c_20140708+
x86_64)
Test assertion failure function rc6_residency_check, file
pm_rc6_residency.c:143:
Last errno: 0, Success
Failed assertion: diff <= (SLEEP_DURATION + RC6_FUDGE)
Diff was too high. That is unpossible
Subtest rc6-residency-check: FAIL
This machine doesn't support rc6pp
This machine doesn't support rc6p
The residency counter: 9.600667
Test assertion failure function rc6_residency_counter, file
pm_rc6_residency.c:131:
Last errno: 0, Success
Failed assertion: (flag_counter != 0) && (counter_result <=1)
Sysfs RC6 residency counter is inaccurate.
Subtest rc6-residency-counter: FAIL</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>