aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorBarry Song <baohua.song@csr.com>2011-10-06 14:34:46 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2011-10-16 17:30:36 -0400
commit6f8d7022a842809aeb24db1d15669198ef02c131 (patch)
treeae1d4bacda83b3f430c644cf2479ffb1948bb30c /Documentation/kernel-parameters.txt
parent21e82808fc465b66fedaac0f4e885cafb304e843 (diff)
PM / Hibernate: Add resumewait param to support MMC-like devices as resume file
Some devices like MMC are async detected very slow. For example, drivers/mmc/host/sdhci.c launches a 200ms delayed work to detect MMC partitions then add disk. We have wait_for_device_probe() and scsi_complete_async_scans() before calling swsusp_check(), but it is not enough to wait for MMC. This patch adds resumewait kernel param just like rootwait so that we have enough time to wait until MMC is ready. The difference is that we wait for resume partition whereas rootwait waits for rootfs partition (which may be on a different device). This patch will make hibernation support many embedded products without SCSI devices, but with devices like MMC. [rjw: Modified the changelog slightly.] Signed-off-by: Barry Song <Baohua.Song@csr.com> Reviewed-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 854ed5ca7e3f..88a7b197a4eb 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2240,6 +2240,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
2240 in <PAGE_SIZE> units (needed only for swap files). 2240 in <PAGE_SIZE> units (needed only for swap files).
2241 See Documentation/power/swsusp-and-swap-files.txt 2241 See Documentation/power/swsusp-and-swap-files.txt
2242 2242
2243 resumewait [HIBERNATION] Wait (indefinitely) for resume device to show up.
2244 Useful for devices that are detected asynchronously
2245 (e.g. USB and MMC devices).
2246
2243 hibernate= [HIBERNATION] 2247 hibernate= [HIBERNATION]
2244 noresume Don't check if there's a hibernation image 2248 noresume Don't check if there's a hibernation image
2245 present during boot. 2249 present during boot.