freebsd-dev/sys/dev/acpica
Konstantin Belousov f10845877e Suspend all writeable local filesystems on power suspend.
This ensures that no writes are pending in memory, either metadata or
user data, but not including dirty pages not yet converted to fs writes.

Only filesystems declared local are suspended.

Note that this does not guarantee absence of the metadata errors or
leaks if resume is not done: for instance, on UFS unlinked but opened
inodes are leaked and require fsck to gc.

Reviewed by:	markj
Discussed with:	imp
Tested by:	imp (previous version), pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D27054
2020-11-05 20:52:49 +00:00
..
Osd acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_acad.c acpi(9): Add EVENTHANDLERs for video and AC adapter events. 2020-10-31 20:14:28 +00:00
acpi_apei.c Unify AcpiGetTable() KPI use in identify, probe and attach. 2020-08-19 19:55:12 +00:00
acpi_battery.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_bus_if.m
acpi_button.c Expose the ACPI power button, sleep button and LID state as evdev's. 2020-03-02 09:45:06 +00:00
acpi_cmbat.c Add workaround for models which do not follow the ACPI specification strictly. 2020-02-27 17:13:57 +00:00
acpi_container.c Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
acpi_cpu.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_dock.c acpi_dock(4): Add ACPI_PNP_INFO 2020-10-31 22:20:42 +00:00
acpi_ec.c acpi_ec(4): Don't probe erroneously if success occurred 2020-04-23 17:30:03 +00:00
acpi_hpet.c acpi_hpet: Add Hygon Dhyana support. 2020-02-07 22:26:11 +00:00
acpi_hpet.h
acpi_if.m Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpi_isab.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_lid.c Send Lid status notification via devd from acpi_lid_status_update. 2020-05-16 01:50:28 +00:00
acpi_package.c Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpi_pci_link.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_pci.c Rename kernel option ACPI_DMAR to IOMMU. 2020-09-29 20:29:07 +00:00
acpi_pcib_acpi.c Add mostly dummy hw.pci.enable_aspm tunable. 2020-06-26 19:55:11 +00:00
acpi_pcib_pci.c
acpi_pcib.c acpica: rework INTRNG interrupts 2018-11-19 03:02:47 +00:00
acpi_pcibvar.h
acpi_pcivar.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
acpi_perf.c
acpi_powerres.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_pxm.c Call acpi_pxm_set_proximity_info() slightly earlier on x86. 2020-05-14 16:07:27 +00:00
acpi_quirk.c Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
acpi_quirks
acpi_resource.c acpi_resource: support multiple IRQs 2020-09-30 17:09:17 +00:00
acpi_smbat.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_smbus.h acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_thermal.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_throttle.c
acpi_timer.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_video.c acpi_video(4): Put display device in to D3 state on "Display off" event. 2020-10-31 20:28:13 +00:00
acpi.c Suspend all writeable local filesystems on power suspend. 2020-11-05 20:52:49 +00:00
acpiio.h Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpivar.h Add plug and play information macroses for ACPI and I2C buses. 2020-10-31 22:15:59 +00:00