1.\" $OpenBSD: kate.4,v 1.6 2019/04/23 18:23:49 schwarze Exp $ 2.\" 3.\" Copyright (c) 2008 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: April 23 2019 $ 18.Dt KATE 4 19.Os 20.Sh NAME 21.Nm kate 22.Nd AMD K8 temperature sensor 23.Sh SYNOPSIS 24.Cd "kate* at pci?" 25.Sh DESCRIPTION 26The 27.Nm 28driver provides support for the temperature sensors available in the 29AMD K8 family of processors. 30.Pp 31These sensors were officially introduced with 32Revision F Family 0Fh processors, 33and provide 1 degC accuracy. 34Precision was improved in Revision G chips, 35which provide two more bits for 0.25 degC steppings. 36Each core may have two temperature sensors, and 37there may be up to two cores per package. 38.Pp 39Multiprocessor systems would have one instance of 40.Nm 41per each chip. 42In each instance, 43.Va temp0 44and 45.Va temp1 46sensors 47correspond to the temperature sensors on the first core, 48whereas 49.Va temp2 50and 51.Va temp3 52correspond to the temperature sensors on the second core. 53As such, single core chips may have two sensors, 54and dual-core dual-processor systems may have as many as 8 55temperature sensors in total. 56.Pp 57Since many prior revisions of the chips appear to have 58valid readings for at least some temperature sensors 59in the same address space as the aforementioned revisions, 60the driver may also attach on such older revisions provided 61that it finds some sensor readings that appear valid. 62However, in such cases 63.Nm 64would not print the core revision information into the dmesg. 65.Pp 66Sensor values are made available through the 67.Xr sysctl 8 68interface. 69.Sh SEE ALSO 70.Xr intro 4 , 71.Xr pci 4 , 72.Xr sensorsd 8 , 73.Xr sysctl 8 74.Rs 75.%T "BIOS and Kernel Developer's Guide for AMD NPT Family 0Fh Processors" 76.%D July 2007 77.%R Publication # 32559 78.%P pp. 21\(en23 and pp. 179\(en184 79.\" .%O http://support.amd.com/us/Processor_TechDocs/32559.pdf 80.Re 81.Rs 82.%T "Revision Guide for AMD NPT Family 0Fh Processors" 83.%D February 2008 84.%R Publication # 33610 85.\" .%O http://support.amd.com/us/Processor_TechDocs/33610.pdf 86.Re 87.Sh HISTORY 88The 89.Nm 90driver first appeared in 91.Ox 4.4 . 92.Sh AUTHORS 93.An -nosplit 94The 95.Nm 96driver was written by 97.An Constantine A. Murenin Aq Mt cnst@openbsd.org 98whilst at the University of Waterloo. 99