[Bug 212020] Add powerd(8) support for newer AMD CPUs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 27 21:32:24 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212020

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jhb
Date: Thu Oct 27 21:31:57 UTC 2016
New revision: 308005
URL: https://svnweb.freebsd.org/changeset/base/308005

Log:
  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
  Submitted by: Anthony Jenkins <Scoobi_doo at yahoo.com>
  MFC after:    1 month
  Differential Revision:        https://reviews.freebsd.org/D7587

Changes:
  head/sys/x86/cpufreq/hwpstate.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list