History log of /dflybsd-src/sys/dev/acpica/acpi_thermal.c (Results 1 – 17 of 17)
Revision Date Author Comments
# 944cd60c 25-Sep-2019 Sascha Wildner <saw@online.de>

<sys/time.h>: Add 3rd arg to timespecadd()/sub() and make them public.

* Switch to the three argument versions of the timespecadd() and
timespecsub() macros. These are now the predominant ones. Fr

<sys/time.h>: Add 3rd arg to timespecadd()/sub() and make them public.

* Switch to the three argument versions of the timespecadd() and
timespecsub() macros. These are now the predominant ones. FreeBSD,
OpenBSD, NetBSD, and Solaris (albeit only for the kernel) have them.

* Make those macros public too. This allows for a number of cleanups
where they were defined locally.

Pointed-out-by: zrj
Reviewed-by: dillon

show more ...


# 5025fc65 16-Jan-2018 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add a global priority hack for ACPI

* Allows ACPI to fully probe and attach all acpi devices before
attaching any non-ACPI devices.

* May improve device attach stability.

* Currently on

kernel - Add a global priority hack for ACPI

* Allows ACPI to fully probe and attach all acpi devices before
attaching any non-ACPI devices.

* May improve device attach stability.

* Currently only implemented at the top-level of the acpi
device tree.

show more ...


# 7252c37c 11-Jan-2017 Matthew Dillon <dillon@apollo.backplane.com>

acpi - Incidental MPSAFE (2)

* The changes in a639f788 revealed bubgs in acpi_thermal's support
threads. These threads start executing before the main acpi device
finishes its attach. The mplo

acpi - Incidental MPSAFE (2)

* The changes in a639f788 revealed bubgs in acpi_thermal's support
threads. These threads start executing before the main acpi device
finishes its attach. The mplock serialization saved us before, and
removing it revealed the problem.

* Force serialization using the main acpi lock to prevent the support
threads from starting up until after the main acpi attach has
completed.

Reported-by: swildner

show more ...


# a639f788 09-Jan-2017 Matthew Dillon <dillon@apollo.backplane.com>

acpi - Incidental MPSAFE

* Make ACPI devices MPSAFE (use a private token).

* Make the ACPI interupt MPSAFE.


# d1fb95bd 19-Dec-2015 Sascha Wildner <saw@online.de>

kernel/acpica: In notify handlers, always report on unknown notifies.

Also, make the messages more uniform.


# 7cb11ced 30-Jun-2015 Sascha Wildner <saw@online.de>

kernel/acpi_thermal: Fix comment typo.


# 531566e6 16-May-2015 Imre Vadász <imre@vdsz.com>

kernel/acpi_thermal: Improve hw.acpi.thermal.polling_rate sysctl behaviour

* No longer allow setting hw.acpi.thermal.polling_rate to negative or to
meaninglessly large values of more than 3600s.

kernel/acpi_thermal: Improve hw.acpi.thermal.polling_rate sysctl behaviour

* No longer allow setting hw.acpi.thermal.polling_rate to negative or to
meaninglessly large values of more than 3600s.

* Wake up the acpi_tz_thread after changing hw.acpi.thermal.polling_rate,
to wake it up when hw.acpi.thermal.polling_rate was set to 0 (i.e.
disabled polling) or a very large value before.

show more ...


# 905ed3cf 16-Mar-2015 Sascha Wildner <saw@online.de>

kernel/acpi_thermal: If the _TMP can't be evaluated, increase the interval.

If _TMP evaluation fails two times, switch to trying every two hours.
I think eventually we should move to stop reading th

kernel/acpi_thermal: If the _TMP can't be evaluated, increase the interval.

If _TMP evaluation fails two times, switch to trying every two hours.
I think eventually we should move to stop reading the sensor at all
(it is usually a bug in the AML and won't spring to life again all
of a sudden), but for now, this lowers the burden on log files.

Submitted-by: dillon

show more ...


# 11f5cde4 08-Jan-2015 Imre Vadasz <imre@vdsz.com>

kernel/acpi: Add missing ACPI_LOCK_INIT in acpi_thermal.


# 9d1f0c52 15-Nov-2014 Sascha Wildner <saw@online.de>

kernel: Refer to it as "ACPICA", not "ACPI CA" or "ACPI-CA".


# 3fe1280f 07-Sep-2013 Sascha Wildner <saw@online.de>

kernel/acpi: Sync acpi_thermal with FreeBSD.


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

kernel: Use DEVMETHOD_END in the drivers.


# 5db2f26e 03-Jan-2013 Sascha Wildner <saw@online.de>

kernel: Move sys/dev/acpica5 to sys/dev/acpica.

The 5 used to indicate that it was imported from FreeBSD 5 but that
doesn't matter anymore.

In-discussion-with: sephe


# 16dbe56e 23-Aug-2005 YONETANI Tomokazu <y0netan1@dragonflybsd.org>

Retire old, FreeBSD 4.x -derived ACPI code.


# 9941bd3c 13-Feb-2004 Joerg Sonnenberger <joerg@dragonflybsd.org>

Add __DragonFly__


# 6b08710e 15-Nov-2003 Matthew Dillon <dillon@dragonflybsd.org>

Misc cleanups to take care of GCC3.x warnings. Missing 'U' and 'LL'
postfixes on large unsigned or 64 bit constants, non-storage structural
declarations embedded in structures, deprecated use of __F

Misc cleanups to take care of GCC3.x warnings. Missing 'U' and 'LL'
postfixes on large unsigned or 64 bit constants, non-storage structural
declarations embedded in structures, deprecated use of __FUNCTION__,
missing 'break' statements in the last switch case, goto label ops where
the label occurs just before an end-brace (many of which appear to be
fixable with 'break' or 'continue' instead and existed simply due to
programmer-paranoia), garbage data in #endif lines that was not commented
out. GCC3 also caught some argument count issues in kernel printfs.

Many of these (obvious) fixes are similar to or copied from 5.x.

Also fix a few other minor issues such as certain drivers declaring a
proc pointer instead of a thread pointer.

Move -ffreestanding from CWARNFLAGS to CFLAGS. It doesn't belong in
CWARNFLAGS.

show more ...


# bf3e6b54 24-Sep-2003 David Rhodus <drhodus@dragonflybsd.org>

* Intel ACPI 20030228 distribution with local DragonFly changes.

* OSPM ACPI driver. Note that this driver does not include
support for PCI interrupt routing or enumeration of ISA bridges or

* Intel ACPI 20030228 distribution with local DragonFly changes.

* OSPM ACPI driver. Note that this driver does not include
support for PCI interrupt routing or enumeration of ISA bridges or
Host to PCI bridges. While functional on some machines, this driver
should be considered experimental and should be tested prior to being
deployed in a production environment.


Original work done by John Baldwin
Sponsored by: The Weather Channel

show more ...