cpupower: Add support for new AMD family 0x17
authorSherry Hurwitz <sherry.hurwitz@amd.com>
Tue, 20 Jun 2017 07:08:42 +0000 (02:08 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Jun 2017 23:43:22 +0000 (01:43 +0200)
commit902bef73faa99b8c024e0f18c6199872b7cccb52
treef235b3a54098e33402dbee96d95ef4bb01758f9b
parent6ae78b4e7c276e5306897269443f66cb4d86e47f
cpupower: Add support for new AMD family 0x17

Add support for new AMD family 0x17
- Add bit field changes to the msr_pstate structure
- Add the new formula for the  calculation of cof
- Changed method to access to CpbDis

Signed-off-by: Sherry Hurwitz <sherry.hurwitz@amd.com>
Acked-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/utils/helpers/amd.c
tools/power/cpupower/utils/helpers/helpers.h
tools/power/cpupower/utils/helpers/misc.c