freebsd-nq/sys/x86
John Baldwin 7b64a80b55 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@yahoo.com>
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D7587
2016-10-27 21:31:56 +00:00
..
acpica Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
bios
cpufreq Add powerd(8) support for several families of AMD CPUs. 2016-10-27 21:31:56 +00:00
include MFamd64: Add bounds checks on addresses used with /dev/mem. 2016-10-27 21:23:14 +00:00
iommu Add additional constants. 2016-08-09 19:02:14 +00:00
isa Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
pci Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
x86 Follow-up to r307866: 2016-10-24 20:47:46 +00:00
xen Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00