History log of /dflybsd-src/sys/dev/powermng/coretemp/coretemp.c (Results 1 – 25 of 29)
Revision Date Author Comments
# dae65060 20-Oct-2019 zrj <rimvydas.jasinskas@gmail.com>

<sys/sysref.h>: Switch to lighter <sys/_malloc.h> header.

* Make <sys/sysref2.h> a kernel only header.
* Remove sys/types.h includes that follow <sys/param.h> in devfs(5).
* Add sys/malloc.h incl

<sys/sysref.h>: Switch to lighter <sys/_malloc.h> header.

* Make <sys/sysref2.h> a kernel only header.
* Remove sys/types.h includes that follow <sys/param.h> in devfs(5).
* Add sys/malloc.h includes where it is actually used in sources.

While there, minor whitespace cleanup.

show more ...


# c000328c 15-Jun-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

acpi/cpu/coretemp: Move sensor device from coretemp to acpi/cpu

So that more sensors from different drivers could attach to it.


# 4c79bfda 04-Jun-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Utilize per-cpu sensor threads

This greatly simplifies the code.


# 949251ba 05-May-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Add 'temp' to sensor description.


# 7273d7b8 05-May-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

sensor: Factor out helper functions.


# 3f8829e8 04-May-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Enhance data of devctl notify event.


# 85843744 10-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Add package level thermal sensor support

The temperature extracted from CPU package level thermal sensors are
exposed through sensor sysctl hw.sensors.cpu_nodeX.temp0 nodes.


# 61e47a39 10-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: CORE_LEVEL node contains 0 children, if hyperthread is not enabled

Reported-by: YRabbit


# 013ec85c 09-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Indentation


# 680d36f5 09-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Avoid magic number


# 056f320b 08-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Register sensor task for each core instead each HT

And replicate DTS readout to all HT sensors belonging to the same core.
DTS readout is actually only for cores.


# e99c31a3 07-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Clean up identify method


# 82844f50 07-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Set Tj max to 110; 105 is quite common on Ivy Bridge CPUs.


# 18df9562 07-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Set sensor status properly


# 0b758900 06-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Add description for the sensor


# 9fbd04e5 05-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Keep the previous sensor value, if the IPI does not complete yet


# dd5f4edb 05-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Use lwkt_send_ipiq_passive()

This makes coretemp even more lightweight.


# ce72fc09 03-Apr-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

coretemp: Use IPI to get temperature on other CPUs

This is more lightweight than CPU migration to run just one instruction.


# 1bedd63a 22-Mar-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

sensor: Allocate task w/ M_WAITOK

And now sensor_task_register() will not fail.


# 00961cb1 25-Feb-2015 Sascha Wildner <saw@online.de>

coretemp(4): Add MODULE_VERSION.


# d3c9c58e 20-Feb-2013 Sascha Wildner <saw@online.de>

kernel: Use DEVMETHOD_END in the drivers.


# 575aab54 03-Jun-2011 Sascha Wildner <saw@online.de>

coretemp(4): Sync with FreeBSD.


# 86b7a03a 01-Jun-2011 Sascha Wildner <saw@online.de>

kernel: Use cpu_vendor_id instead of strcmp(cpu_vendor, "...").


# 46cd48ee 30-Aug-2010 Alex Hornung <ahornung@gmail.com>

coretemp, sensors - Adjust spinlocks

* In kern_sensors, adjust the spinlocks to not be held across the sysctl
interface management.

* In coretemp, adjust illegal spinlock across calls to kern_sen

coretemp, sensors - Adjust spinlocks

* In kern_sensors, adjust the spinlocks to not be held across the sysctl
interface management.

* In coretemp, adjust illegal spinlock across calls to kern_sensors.

Reported-by: Matt Dillon (dillon@)

show more ...


# b1ee9638 30-Aug-2010 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Switch to exclusive spinlocks in the coretemp sensor

* No impact on performance.

* TODO: spinlocks are being held across major kernel calls in the
detach code which is not legal.


12