]> asedeno.scripts.mit.edu Git - linux.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)
commit9148494c59f53bb6c9233df07447777dc533db33
treecb5592048e5913cdb9f8c8df06474f5b4d642bdf
parent0a91e551527a7b931d36f4822b97e70536bd2bb3
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