1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys
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
..
amd64 MFamd64: Add bounds checks on addresses used with /dev/mem. 2016-10-27 21:23:14 +00:00
arm Add support for Allwinner Consumer IR interface. 2016-10-27 04:26:33 +00:00
arm64 Pull the common FDT interrupt values into a new header rather than be magic 2016-10-26 15:18:08 +00:00
boot LIBSTAND goes last, so put it last here too. 2016-10-26 05:26:59 +00:00
bsm
cam Make pass driver better support CAM_CDB_POINTER flag. 2016-10-17 15:02:17 +00:00
cddl 3746 ZRLs are racy 2016-10-27 07:38:07 +00:00
compat Tidy up ia32_sysvec sv_flags setting 2016-10-20 20:29:54 +00:00
conf Import the Cortex String memcpy and memmove into the kernel. On ThunderX 2016-10-25 14:04:35 +00:00
contrib krping: Allow the underlying ib_device to handle DMA mappings. 2016-10-24 20:53:44 +00:00
crypto Fix C++ includability of crypto headers with static array sizes 2016-10-18 23:20:49 +00:00
ddb Determine the operand/address size of %cs in a new function 2016-09-25 16:30:29 +00:00
dev Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
fs A problem w.r.t. interoperation between the FreeBSD NFSv4.1 server with 2016-10-20 23:53:16 +00:00
gdb
geom gmirror: Add a subroutine to free synchronization BIOs. 2016-10-20 23:08:40 +00:00
gnu Revert and redo r306083. 2016-09-22 15:17:36 +00:00
i386 MFamd64: Add bounds checks on addresses used with /dev/mem. 2016-10-27 21:23:14 +00:00
isa
kern Include <stdarg.h> instead of <machine/stdarg.h> when compiled as 2016-10-24 18:03:04 +00:00
kgssapi
libkern
mips Correct definition of 'struct sigcontext' on MIPS. 2016-10-26 17:37:08 +00:00
modules jedec_ts: a driver for thermal sensors on memory modules 2016-10-22 08:00:46 +00:00
net Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: 2016-10-27 09:46:22 +00:00
net80211 [net80211] Add a variant on ieee80211_get_rx_params() that returns a pointer. 2016-10-23 08:21:35 +00:00
netgraph
netinet Remove an extraneous call to soisconnected() in syncache_socket(), 2016-10-26 15:19:18 +00:00
netinet6 Make ICMPv6 hard error handling for TCP consistent with the ICMPv4 2016-10-21 10:32:57 +00:00
netipsec
netnatm
netpfil Fix ipfw table lookup handler to return entry value, but not its index. 2016-10-19 11:51:17 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto Add support for the fpu_kern(9) KPI on arm64. It hooks into the existing 2016-10-20 09:22:10 +00:00
pc98 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
powerpc Add a bunch of new default options to MPC85XX* configs 2016-10-24 04:21:06 +00:00
riscv rtwn(4), urtwn(4): merge common code, add support for 11ac devices. 2016-10-17 20:38:24 +00:00
rpc
security
sparc64 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
sys Define max_align_t for C11. 2016-10-21 23:50:02 +00:00
teken
tests
tools
ufs The UFS/FFS filesystem checks directory link counts when doing 2016-10-26 20:28:23 +00:00
vm Simplify keg_drain() a bit by using LIST_FOREACH_SAFE. 2016-10-20 23:10:27 +00:00
x86 Add powerd(8) support for several families of AMD CPUs. 2016-10-27 21:31:56 +00:00
xdr
xen xen/vchan: change license of header from Lesser GPL v2.1 to BSD 2016-09-30 13:41:24 +00:00
Makefile