| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: amdzentemp.4,v 1.4 2018/01/25 10:28:57 pgoyette Exp $ | | 1 | .\" $NetBSD: amdzentemp.4,v 1.5 2018/01/25 10:48:27 uwe Exp $ |
2 | .\"- | | 2 | .\"- |
3 | .\" Copyright (c) 2008 Christoph Egger | | 3 | .\" Copyright (c) 2008 Christoph Egger |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -30,71 +30,71 @@ | | | @@ -30,71 +30,71 @@ |
30 | .Dt AMDZENTEMP 4 x86 | | 30 | .Dt AMDZENTEMP 4 x86 |
31 | .Os | | 31 | .Os |
32 | .Sh NAME | | 32 | .Sh NAME |
33 | .Nm amdzentemp | | 33 | .Nm amdzentemp |
34 | .Nd AMD Zen CPU family on-die digital thermal sensor | | 34 | .Nd AMD Zen CPU family on-die digital thermal sensor |
35 | .Sh SYNOPSIS | | 35 | .Sh SYNOPSIS |
36 | .Cd "amdzentemp* at amdsmn?" | | 36 | .Cd "amdzentemp* at amdsmn?" |
37 | .Sh DESCRIPTION | | 37 | .Sh DESCRIPTION |
38 | The | | 38 | The |
39 | .Nm | | 39 | .Nm |
40 | driver provides support for the on-die digital thermal sensor present | | 40 | driver provides support for the on-die digital thermal sensor present |
41 | on AMD Ryzen CPUs | | 41 | on AMD Ryzen CPUs |
42 | .Pp | | 42 | .Pp |
43 | These sensors provide 0.125\(deC accuracy. There is one sensor for each | | 43 | These sensors provide 0.125\(deC accuracy. |
44 | CPU socket. | | 44 | There is one sensor for each CPU socket. |
45 | .Pp | | 45 | .Pp |
46 | The | | 46 | The |
47 | .Nm | | 47 | .Nm |
48 | driver reports temperatures through the | | 48 | driver reports temperatures through the |
49 | .Xr envsys 4 | | 49 | .Xr envsys 4 |
50 | API. | | 50 | API. |
51 | .Bl -column "CPUN sensor0" "Units" "Typical Use" -offset indent | | 51 | .Bl -column "CPUN sensor0" "Units" "Typical Use" -offset indent |
52 | .It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" | | 52 | .It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" |
53 | .It CPU Ns Em N No sensor0 Ta \(*mK Ta cpu Ns Em N No temperature | | 53 | .It CPU Ns Em N No sensor0 Ta \(*mK Ta cpu Ns Em N No temperature |
54 | .El | | 54 | .El |
55 | .Sh SEE ALSO | | 55 | .Sh SEE ALSO |
56 | .Xr amdtemp 4 , | | 56 | .Xr amdtemp 4 , |
57 | .Xr envsys 4 , | | 57 | .Xr envsys 4 , |
58 | .Xr envstat 8 , | | 58 | .Xr envstat 8 , |
59 | .Xr powerd 8 | | 59 | .Xr powerd 8 |
60 | .Sh BUGS | | | |
61 | The temperature reading provided to | | | |
62 | .Xr envsys 4 | | | |
63 | needs to have a CPU-dependent offset applied. | | | |
64 | For Ryzen X processors, the offset is 20\(deC, while for Threadripper | | | |
65 | processors an offset of 27\(deC is needed. | | | |
66 | .Pp | | | |
67 | The sensor has a thermal-trip value which should be retrieved and | | | |
68 | provided to | | | |
69 | .Xr envsys 4 | | | |
70 | as the sensors critical-maximum value. | | | |
71 | .Sh HISTORY | | 60 | .Sh HISTORY |
72 | The | | 61 | The |
73 | .Nm | | 62 | .Nm |
74 | driver first appeared in | | 63 | driver first appeared in |
75 | .Ox 4.4 | | 64 | .Ox 4.4 |
76 | named | | 65 | named |
77 | .Dq kate . | | 66 | .Dq kate . |
78 | It was then ported to | | 67 | It was then ported to |
79 | .Nx 5.0 | | 68 | .Nx 5.0 |
80 | under the name | | 69 | under the name |
81 | .Dq amdtemp . | | 70 | .Xr amdtemp 4 . |
82 | The | | 71 | The |
83 | .Fx | | 72 | .Fx |
84 | version of the driver was updated with support for newer AMD CPUs. | | 73 | version of the driver was updated with support for newer AMD CPUs. |
85 | For | | 74 | For |
86 | .Nx , | | 75 | .Nx , |
87 | the support for the newer CPUs was separated into its own | | 76 | the support for the newer CPUs was separated into its own |
88 | .Nm | | 77 | .Nm |
89 | driver. | | 78 | driver. |
90 | .Sh AUTHORS | | 79 | .Sh AUTHORS |
91 | .An -nosplit | | 80 | .An -nosplit |
92 | The | | 81 | The |
93 | .Nm | | 82 | .Nm |
94 | driver was written by | | 83 | driver was written by |
95 | .An Constantine A. Murenin Aq Mt cnst@openbsd.org | | 84 | .An Constantine A. Murenin Aq Mt cnst@openbsd.org |
96 | whilst at the University of Waterloo. | | 85 | whilst at the University of Waterloo. |
97 | Porting of support for the newer AMD CPUs from | | 86 | Porting of support for the newer AMD CPUs from |
98 | .Fx | | 87 | .Fx |
99 | was provided by | | 88 | was provided by |
100 | .An Ian Clark . | | 89 | .An Ian Clark . |
| | | 90 | .Sh BUGS |
| | | 91 | The temperature reading provided to |
| | | 92 | .Xr envsys 4 |
| | | 93 | needs to have a CPU-dependent offset applied. |
| | | 94 | For Ryzen X processors, the offset is 20\(deC, while for Threadripper |
| | | 95 | processors an offset of 27\(deC is needed. |
| | | 96 | .Pp |
| | | 97 | The sensor has a thermal-trip value which should be retrieved and |
| | | 98 | provided to |
| | | 99 | .Xr envsys 4 |
| | | 100 | as the sensors critical-maximum value. |