aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-01-23 16:00:56 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-01-23 16:00:56 +0100
commit322e929d196c27fa1bd50b389b800e9c30419bde (patch)
treeb54c5ea2ca3e8566ec95044488e549b670607be9 /Documentation/ABI
parentPM: hibernate: fix crashes with init_on_free=1 (diff)
parentPM: suspend: Add sysfs attribute to control the "sync on suspend" behavior (diff)
downloadlinux-dev-322e929d196c27fa1bd50b389b800e9c30419bde.tar.xz
linux-dev-322e929d196c27fa1bd50b389b800e9c30419bde.zip
Merge back new material related to system-wide PM for v5.6.
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-power13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-power b/Documentation/ABI/testing/sysfs-power
index 6f87b9dd384b..5e6ead29124c 100644
--- a/Documentation/ABI/testing/sysfs-power
+++ b/Documentation/ABI/testing/sysfs-power
@@ -407,3 +407,16 @@ Contact: Kalesh Singh <kaleshsingh96@gmail.com>
Description:
The /sys/power/suspend_stats/last_failed_step file contains
the last failed step in the suspend/resume path.
+
+What: /sys/power/sync_on_suspend
+Date: October 2019
+Contact: Jonas Meurer <jonas@freesources.org>
+Description:
+ This file controls whether or not the kernel will sync()
+ filesystems during system suspend (after freezing user space
+ and before suspending devices).
+
+ Writing a "1" to this file enables the sync() and writing a "0"
+ disables it. Reads from the file return the current value.
+ The default is "1" if the build-time "SUSPEND_SKIP_SYNC" config
+ flag is unset, or "0" otherwise.