freebsd-skq/sys/dev/acpica
Andriy Gapon 27dca831a6 stop and restart kernel event timers in the suspend / resume cycle
I have a system that is very unstable after resuming from suspend-to-RAM
but only if HPET is used as the event timer.  The theory is that SMM
code / firmware could be enabling HPET for its own uses and unexpected
interrupts cause a trouble for it.  Originally I wanted to solve the
problem in hpet_suspend() method, but that was insufficient as the event
timer could get reprogrammed again.

So, it's better, for my case and in general, to stop the event timer(s)
before entering the hardware suspend.

MFC after:	4 weeks
Differential Revision: https://reviews.freebsd.org/D15413
2018-05-21 20:23:04 +00:00
..
Osd Redo r332918 with the ACPICA API and remove debug.acpi.suspend_deep_bounce. 2018-05-03 19:00:50 +00:00
acpi_acad.c
acpi_battery.c
acpi_bus_if.m Add the start of INTRNG support for ACPI. 2018-01-11 17:09:12 +00:00
acpi_button.c
acpi_cmbat.c Fix startup race initialising ACPI CM battery structures on MacBookPro. 2017-02-27 08:36:51 +00:00
acpi_container.c hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
acpi_cpu.c Use device_quiet_children to silence verbose CPU probe messages. 2018-05-07 21:09:17 +00:00
acpi_dock.c
acpi_ec.c Fix for endless recursion in the ACPI GPE handler during boot. 2016-12-02 08:21:08 +00:00
acpi_hpet.c hpet: use macros instead of magic values for the timer mode 2018-05-03 13:14:31 +00:00
acpi_hpet.h Implement userspace gettimeofday(2) with HPET timecounter. 2016-08-17 09:52:09 +00:00
acpi_if.m
acpi_isab.c
acpi_lid.c Export the actual LID state via sysctl. This allows more complex 2017-03-12 18:00:02 +00:00
acpi_package.c acpica: remove a superfluous NULL check 2017-02-16 20:27:22 +00:00
acpi_pci_link.c
acpi_pci.c Add a new bus method to fetch device-specific CPU sets. 2016-05-09 20:50:21 +00:00
acpi_pcib_acpi.c Add support for NUMA domains to bus dma tags. This causes all memory 2018-01-12 23:34:16 +00:00
acpi_pcib_pci.c Implement a proper detach method for the PCI-PCI bridge driver. 2016-05-20 00:03:22 +00:00
acpi_pcib.c Add a new bus method to fetch device-specific CPU sets. 2016-05-09 20:50:21 +00:00
acpi_pcibvar.h Add a new bus method to fetch device-specific CPU sets. 2016-05-09 20:50:21 +00:00
acpi_pcivar.h Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). 2016-04-07 17:15:16 +00:00
acpi_perf.c Remove misc NULL checks after M_WAITOK allocations. 2016-05-10 10:26:07 +00:00
acpi_powerres.c
acpi_quirk.c
acpi_quirks
acpi_resource.c Workaround fixed I/O port resources encoded as I/O port ranges in _CRS. 2018-04-18 18:36:26 +00:00
acpi_smbat.c
acpi_smbus.h
acpi_thermal.c Attach a "thermal_zone" label to the ACPI thermal zone sysctls. 2016-12-14 13:00:27 +00:00
acpi_throttle.c
acpi_timer.c
acpi_video.c
acpi.c stop and restart kernel event timers in the suspend / resume cycle 2018-05-21 20:23:04 +00:00
acpiio.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
acpivar.h Remove local definitions for _STA method in favor of ACPICA. 2018-03-14 23:42:28 +00:00