freebsd-dev/sys
Andriy Gapon 3673f7136a amdsbwd, intpm: unify bits specific to AMD chipsets (FCHs, southbridges)
AMD chipsets have proprietary mechanisms for dicovering resources.
Those resources are not discoverable via plug-and-play mechanisms
like PCI configuration registers or ACPI.
For this reason a chipset-specific knowledge of proprietary registers
is required.

At present there are two FreeBSD drivers that require the proprietary
resource discovery.  One is amdsbwd which is a driver for the watchdog
timer in the AMD chipsets.  The other is intpm SMBus driver when it
attaches to the newer AMD chipsets where the resources of the SMBus HBA
are not described in the regular PCI way.

In both cases the resources are discovered by accessing AMD PMIO space.
Thus, many definitions are shared between the two drivers.
This change puts those defintions into a common header file.

As an added benefit, intpm driver now supports newest FCHs built into
AMD processors of Family 15h, models 70h-7Fh and Family 16h, models
30h-3Fh.

Reviewed by:	kib
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D8004
2016-09-22 21:34:35 +00:00
..
amd64 Change the efi_get_table interface to a void ** so we can return the 2016-09-22 19:04:51 +00:00
arm Make it possible to safely use TPIDRURW from userspace. 2016-09-22 08:14:59 +00:00
arm64 Add a way for the architecture to specify the calling ABI for methods 2016-09-21 10:35:44 +00:00
boot The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
bsm
cam Protect ccbq access with devq->send_mtx in the XPT_ABORT handler. 2016-09-21 00:08:42 +00:00
cddl MFV r268120: 2016-09-11 17:48:06 +00:00
compat capsicum: propagate rights on accept(2) 2016-09-22 09:58:46 +00:00
conf Add kernel interfaces to call EFI Runtime Services. 2016-09-21 11:31:58 +00:00
contrib Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
crypto Fix typo in skein amd64 assembly 2016-09-08 02:38:55 +00:00
ddb Silently ignore unexpected single-step traps (except for turning 2016-09-17 11:43:51 +00:00
dev amdsbwd, intpm: unify bits specific to AMD chipsets (FCHs, southbridges) 2016-09-22 21:34:35 +00:00
fs Change the getnewvnode(9) tag for nullfs from "null" to "nullfs". 2016-09-15 13:57:37 +00:00
gdb
geom Follow up r305988 by removing g_bio_run_task and related code. 2016-09-20 09:18:33 +00:00
gnu Revert and redo r306083. 2016-09-22 15:17:36 +00:00
i386 Regenerate syscall provider argument strings. 2016-09-22 04:50:03 +00:00
isa
kern Fix regression from r297400, which truncates headers in case of low socket 2016-09-22 20:34:44 +00:00
kgssapi
libkern
mips Set the standard freebsd brand note for ELF binaries on MIPS, 2016-09-22 12:48:01 +00:00
modules Make the cloudabi32 kernel module available on ARMv6. 2016-09-22 12:08:26 +00:00
net Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
net80211 [net80211] don't add IBSS node table entries for neighbors from other SSIDs. 2016-09-21 19:48:07 +00:00
netgraph Avoid panic from ng_uncallout when unpluggin ethernet cable with active 2016-08-08 19:31:01 +00:00
netinet capsicum: propagate rights on accept(2) 2016-09-22 09:58:46 +00:00
netinet6 Reduce code duplication around NDP message handlers in icmp6_input(). 2016-09-20 18:08:17 +00:00
netipsec Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netnatm
netpfil Move opcode rewriter init and destroy handlers into non-VENT code. 2016-09-18 17:35:17 +00:00
netsmb
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
ofed Do not free an uninitialized pointer on soaccept failure in the iWARP 2016-08-26 08:25:28 +00:00
opencrypto opencrypto AES-ICM: Fix heap corruption typo 2016-08-01 22:57:03 +00:00
pc98 Remove the ie(4) driver for Intel 82586 ISA Ethernet adapters. 2016-08-20 00:49:29 +00:00
powerpc Revert part of r306065 2016-09-21 22:09:17 +00:00
riscv Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
rpc Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
security Don't check aq64_minfree which is unsigned for negative values. 2016-09-08 19:47:57 +00:00
sparc64 Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
sys capsicum: propagate rights on accept(2) 2016-09-22 09:58:46 +00:00
teken
tests
tools Consider CROSS_BINUTILS_PREFIX environment variable so we use correct 2016-08-10 13:49:17 +00:00
ufs Be more strict when selecting between snapshot/regular mount. 2016-09-19 15:58:33 +00:00
vm Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
x86 Detect x2APIC mode on boot and obey it. 2016-09-19 15:58:45 +00:00
xdr
xen xen: Correct typo in #undef for symbol NBPL 2016-06-06 14:55:46 +00:00
Makefile