xref: /netbsd-src/share/man/man4/amdtemp.4 (revision cbbfe3d35c76e11d0a7856805be28623bc9f1c8d)
1.\" $NetBSD: amdtemp.4,v 1.12 2018/12/29 20:29:46 is Exp $
2.\"-
3.\" Copyright (c) 2008 Christoph Egger
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD: src/share/man/man4/coretemp.4,v 1.4 2007/10/15 20:00:19 netchild Exp $
28.\"
29.Dd January 28, 2018
30.Dt AMDTEMP 4
31.Os
32.Sh NAME
33.Nm amdtemp
34.Nd AMD CPU on-die digital thermal sensor
35.Sh SYNOPSIS
36.Cd "amdtemp* at amdnb_miscbus?"
37.Sh DESCRIPTION
38The
39.Nm
40driver provides support for the on-die digital thermal sensor present
41on AMD K8, AMD Barcelona, AMD Phenom, AMD Griffin, AMD Fusion,
42AMD Bobcat, and AMD Puma CPUs.
43.Pp
44These sensors were officially introduced in AMD K8 Revision F processors,
45and provide 0.5\(deC accuracy.
46Precision was improved in Revision G chips,
47which provide two more bits for 0.25\(deC steppings.
48Each core
49has two temperature sensors, and there are up to two cores per CPU socket.
50.Pp
51AMD Barcelona, AMD Phenom, AMD Griffin, AMD Fusion,
52AMD Bobcat, and AMD Puma provide 0.125\(degC
53accuracy and provide one temperature sensor for each CPU socket.
54.Pp
55The
56.Nm
57driver reports temperatures through the
58.Xr envsys 4
59API.
60.Bl -column "CPUN sensor0" "Units" "Typical Use" -offset indent
61.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
62.It CPU Ns Em N No sensor0 Ta \(*mK Ta cpu Ns Em N No temperature
63.El
64.Sh SEE ALSO
65.Xr envsys 4 ,
66.Xr envstat 8 ,
67.Xr powerd 8
68.Sh HISTORY
69The
70.Nm
71driver first appeared in
72.Ox 4.4
73named
74.Dq kate .
75It was then ported to
76.Nx 5.0 .
77The driver has been renamed with support for newer AMD CPUs.
78.Sh AUTHORS
79.An -nosplit
80The
81.Nm
82driver was written by
83.An Constantine A. Murenin Aq Mt cnst@openbsd.org
84whilst at the University of Waterloo.
85It was adapted to
86.Nx
87by
88.An Christoph Egger .
89