git: corepower(4): Fix units -> microwatt conversion on Valleyview Atom CPUs

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Sep 8 15:07:50 PDT 2015


commit c13f7d3567726a265d4e2afebfca059554ed6f03
Author: Imre Vadász <imre at vdsz.com>
Date:   Tue Sep 8 23:51:38 2015 +0200

    corepower(4): Fix units -> microwatt conversion on Valleyview Atom CPUs
    
    Add cpu model 0x4d (C2000 Atom CPUs), which might also show correct
    values with this fix.
    
    This Valleyview Atom specific encoding of the MSR_RAPL_POWER_UNIT
    MSR is described in tables 35-7 and 35-9 (for regular silvermont
    Atom and C2000 Atom CPUs respectively).
    
    Tested-by: swildner

Summary of changes:
 sys/dev/powermng/corepower/corepower.c | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c13f7d3567726a265d4e2afebfca059554ed6f03


-- 
DragonFly BSD source repository



More information about the Commits mailing list