]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power/turbostat: split core MSR support into status + limit
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Thu, 16 Jun 2016 16:48:20 +0000 (09:48 -0700)
committerLen Brown <len.brown@intel.com>
Thu, 1 Dec 2016 06:33:17 +0000 (01:33 -0500)
commit2c494cf8c4f468b0cee5e98e0f3649688d0eb2ce
treecb5592048e5913cdb9f8c8df06474f5b4d642bdf
parent273dc695a37ffd7c4c5a18276245829be25c820b
tools/power/turbostat: split core MSR support into status + limit

Some CPUs may not have PP0/Core domain power limit MSRs. We
should still allow its domain energy status to be used. This
patch splits PP0/Core RAPL into two separate flags for power
limit and energy status such that energy status can continue
to be reported without power limit.

Without this patch, turbostat will not be able to use the
remaining RAPL features if some PL MSRs are not present.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c