Home | History | Annotate | Download | only in pci
History log of /src/sys/arch/x86/pci/amdtemp.c
RevisionDateAuthorComments
 1.23  30-Dec-2018  is Document bobcat/puma family nicknames.
 1.22  12-Dec-2018  is Added support for AMD family 16h cpu sensors - (just like 10h-14h).
(Tested on netbsd-8.0 release.)
 1.21  27-Sep-2018  maxv Improve a bit, no real functional change.
 1.20  01-Jun-2017  chs branches: 1.20.2; 1.20.8; 1.20.10;
remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
 1.19  23-Apr-2015  pgoyette Update module dependencies for all the existing modules that depend on sysmon components.
 1.18  15-Nov-2013  msaitoh branches: 1.18.6;
Modify some macros and add some new macros for CPU family and model
to reduce code duplication and to avoid bug.

CPUID_TO_STEPPING(cpuid) (not changed)

CPUID_TO_FAMILY(cpuid) (new)
CPUID_TO_MODEL(cpuid) (new)

Return the display family and the display model.
The macro names are the same as FreeBSD.

CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY)
CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)

Only for the base field.

CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY)
CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)

Only for the extended field.

See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
 1.17  12-Nov-2013  msaitoh Calcurate the processor family correctly. The extended family bits
should be added only when the base family is 0xf.
 1.16  16-Jul-2012  pgoyette branches: 1.16.2; 1.16.4;
Enable entropy gathering
 1.15  13-Apr-2012  cegger Replace amdtempbus with amdnb_miscbus.
This allows us to have independent drivers on the same device (northbridge f3)
each coming with a certain functionality/feature.
This way we do not need to mess with amdtemp(4) to utilize other features.
 1.14  13-Apr-2012  cegger - support AMD Family15h
- deregister pmf on detach
 1.13  02-Mar-2012  nonaka Added Family 12h support.
 1.12  31-Jul-2011  jmcneill branches: 1.12.2; 1.12.6; 1.12.8;
add Family14h (AMD Fusion) support
 1.11  15-Jun-2011  jruoho Small cleanup; use KM_SLEEP, wrap long lines, etc. No functional change.
 1.10  15-Jun-2011  jruoho Modularize amdtemp(4).
 1.9  16-Oct-2009  cegger branches: 1.9.10;
Family 10h Errata #319: Attach on Family10h cpu series which have it fixed.
 1.8  16-Jun-2009  cegger - use <sys/bus.h> and <sys/cpu.h>
- add reference to family11h documentation
- add reference to AMD K8 Errata #141
 1.7  12-Mar-2009  cegger - beautify dmesg
- print family id if not supported
spotted by jmcneill@
 1.6  04-Dec-2008  cegger branches: 1.6.4;
Fix the fix: Only AMD K8 Rev-G on AM2 sockets are impacted.
 1.5  04-Dec-2008  cegger On AMD K8 CPUs with Socket AM2, sensor normalization is off by 21C degree.
Adjust temperature calculation. This should fix strange temperatures on AMD K8
CPUs reported by many people.
 1.4  20-May-2008  cegger branches: 1.4.2; 1.4.6; 1.4.8; 1.4.10;
correct comment copied from aiboost(4): envsys(4) wants uK
 1.3  20-May-2008  cegger envsys(4) expects values in mK and not the top of the range of possible temperature values.
Needed some time to figure this out after I saw negative temperature values on Griffin.
 1.2  29-Apr-2008  martin branches: 1.2.2; 1.2.4;
Convert to new 2 clause license
 1.1  22-Apr-2008  cegger branches: 1.1.2;
amdtemp(4): Driver for AMD CPU Temperature Sensors. Adopted from OpenBSD's kate(4).
Changes beyond OpenBSD's driver:
- Improved support for AMD K8
- Added support for AMD Barcelona, AMD Phenom and AMD Griffin
Tested on various single and multi-socket machines.
Review and OK xtreame
 1.1.2.4  11-Mar-2010  yamt sync with head
 1.1.2.3  20-Jun-2009  yamt sync with head
 1.1.2.2  04-May-2009  yamt sync with head.
 1.1.2.1  16-May-2008  yamt sync with head.
 1.2.4.3  04-Jun-2008  yamt sync with head
 1.2.4.2  18-May-2008  yamt sync with head.
 1.2.4.1  29-Apr-2008  yamt file amdtemp.c was added on branch yamt-pf42 on 2008-05-18 12:33:04 +0000
 1.2.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.10.2  10-Dec-2008  snj Pull up following revision(s) (requested by cegger in ticket #173):
sys/arch/x86/pci/amdtemp.c: revision 1.6
Fix the fix: Only AMD K8 Rev-G on AM2 sockets are impacted.
 1.4.10.1  10-Dec-2008  snj Pull up following revision(s) (requested by cegger in ticket #173):
sys/arch/x86/pci/amdtemp.c: revision 1.5
On AMD K8 CPUs with Socket AM2, sensor normalization is off by 21C degree.
Adjust temperature calculation. This should fix strange temperatures on
AMD K8
CPUs reported by many people.
 1.4.8.2  28-Apr-2009  skrll Sync with HEAD.
 1.4.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.4.6.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.4.2.3  17-Jan-2009  mjf Sync with HEAD.
 1.4.2.2  02-Jun-2008  mjf Sync with HEAD.
 1.4.2.1  20-May-2008  mjf file amdtemp.c was added on branch mjf-devfs2 on 2008-06-02 13:22:50 +0000
 1.6.4.4  27-Aug-2011  jym Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.
 1.6.4.3  01-Nov-2009  jym Sync with HEAD.
 1.6.4.2  23-Jul-2009  jym Sync with HEAD.
 1.6.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.10.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.12.8.2  16-Apr-2012  riz Pull up following revision(s) (requested by cegger in ticket #180):
sys/arch/x86/pci/amdtemp.c: revision 1.14
sys/dev/pci/pcidevs: revision 1.1115
Add AMD Family15h ids
- support AMD Family15h
- deregister pmf on detach
 1.12.8.1  08-Mar-2012  riz Pull up following revision(s) (requested by nonaka):
share/man/man4/amdtemp.4: revision 1.6
share/man/man4/amdtemp.4: revision 1.7
sys/arch/x86/pci/amdtemp.c: revision 1.13
Added Family 12h support.
Mention AMD Fusion.
Bump date for previous.
 1.12.6.4  29-Apr-2012  mrg sync to latest -current.
 1.12.6.3  06-Mar-2012  mrg sync to -current
 1.12.6.2  06-Mar-2012  mrg sync to -current
 1.12.6.1  04-Mar-2012  mrg sync to latest -current.
 1.12.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12.2.2  30-Oct-2012  yamt sync with head
 1.12.2.1  17-Apr-2012  yamt sync with head
 1.16.4.1  18-May-2014  rmind sync with head
 1.16.2.2  03-Dec-2017  jdolecek update from HEAD
 1.16.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.6.2  28-Aug-2017  skrll Sync with HEAD
 1.18.6.1  06-Jun-2015  skrll Sync with HEAD
 1.20.10.1  10-Jun-2019  christos Sync with HEAD
 1.20.8.3  18-Jan-2019  pgoyette Synch with HEAD
 1.20.8.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.20.8.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.20.2.1  15-Dec-2018  martin Pull up following revision(s) (requested by is in ticket #1137):

sys/arch/x86/pci/amdnb_misc.c: revision 1.3
sys/arch/x86/pci/amdtemp.c: revision 1.22

Added support for AMD family 16h cpu sensors - (just like 10h-14h).
(Tested on netbsd-8.0 release.)

RSS XML Feed