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
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
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
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
acpi_pcib.c
acpi_pcibvar.h
acpi_pcivar.h
acpi_perf.c
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
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
acpivar.h Remove local definitions for _STA method in favor of ACPICA. 2018-03-14 23:42:28 +00:00