2 .\" Copyright (c) 2008 Rui Paulo
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" $FreeBSD: head/share/man/man4/amdtemp.4 323185 2017-09-05 15:19:14Z cem $
35 processor on-die digital thermal sensor
37 To compile this driver into the kernel,
38 place the following line in your
39 kernel configuration file:
40 .Bd -ragged -offset indent
44 Alternatively, to load the driver as a
45 module at boot time, place the following line in
47 .Bd -literal -offset indent
53 driver provides support for the on-die digital thermal sensor present
56 Family 0Fh, 10h, 11h, 12h, 14h, 15h, 16h, and 17h processors.
58 For Family 0Fh processors, the
60 driver reports each core's temperature through sysctl nodes, named
61 .Va dev.amdtemp.%d.core{0,1}.sensor{0,1} .
62 The driver also creates
63 .Va dev.cpu.%d.temperature
64 in the corresponding CPU device's sysctl tree, displaying the maximum
65 temperature of the two sensors located in each CPU core.
67 For Family 10h, 11h, 12h, 14h, 15h, 16h, and 17h processors, the driver reports
68 each package's temperature through a sysctl node, named
69 .Va dev.amdtemp.%d.core0.sensor0 .
70 The driver also creates
71 .Va dev.cpu.%d.temperature
72 in the corresponding CPU device's sysctl tree, displaying the temperature
73 of the shared sensor located in each CPU package.
75 The following variable is available as both
80 .Bl -tag -width indent
81 .It Va dev.amdtemp.%d.sensor_offset
83 Add the given offset to the temperature of the sensor.
93 driver first appeared in
96 It was subsequently brought into
99 .An Rui Paulo Aq Mt rpaulo@FreeBSD.org
100 .An Norikatsu Shigemura Aq Mt nork@FreeBSD.org
101 .An Jung-uk Kim Aq Mt jkim@FreeBSD.org
103 For Family 10h and later processors,
105 (the reported temperature) is a non-physical temperature measured on
106 an arbitrary scale and it does not represent an actual physical
107 temperature like die or case temperature.
108 Instead, it specifies the processor temperature relative to the point
109 at which the system must supply the maximum cooling for the processor's
110 specified maximum case temperature and maximum thermal power dissipation
114 .%T BIOS and Kernel Developer's Guide (BKDG) for AMD Processors
115 .%U http://developer.amd.com/resources/developer-guides-manuals/