/[base]
ViewVC logotype

Revision 309443


Jump to revision: Previous Next
Author: jhb
Date: Fri Dec 2 21:35:14 2016 UTC (7 years, 7 months ago)
Changed paths: 4
Log Message:
MFC 308005: Add powerd(8) support for several families of AMD CPUs.

Use the same logic to calculate the nominal CPU frequency from the P-state
MSRs on family 0x12, 0x15, and 0x16 CPUs as is used for family 0x10.
Family 0x14 was included in the original patch in the PR but I left that
out as the BIOS writer's guide for family 0x14 CPUs show a different layout
for the relevant MSR and include a different formulate for calculating the
frequency.

While here, simplify a few expressions and print out the family of
unsupported CPUs in hex rather than decimal.

PR:		212020


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/sys/x86/cpufreq/hwpstate.c modified , text changed
Directorystable/11/ modified , props changed
Directorystable/11/sys/x86/cpufreq/hwpstate.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27