Add support driver for Intel Rapid Start Technology
PATCH 1/1 Add support driver for Intel Rapid Start Technology
Intel Rapid Start Technology is a firmware-based suspend-to-disk implementation. Once placed in S3, the device will wake once either a timeout elapses or the battery reaches a critical level. It will then resume to the firmware and copy the contents of RAM to a specialised partition, and then power off the machine. If the user turns the machine back on the firmware will copy the contents of the partition back to RAM and then resume from S3 as normal.
This driver provides an interface for configuring the wakeup events and timeout. It still requires firmware support and an appropriate suspend partition.
--- .../ABI/testing/sysfs-driver-intel-rapid-start | 21 +++ drivers/platform/x86/intel-rst.c | 209 +++++++++++++++++++++ 2 files changed, 230 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-rapid-start create mode 100644 drivers/platform/x86/intel-rst.c
Documentation/ABI/testing/sysfs-driver-intel-rapid-start new file +21 -0
@@ -0,0 +1,21 @@ +What: /sys/bus/acpi/intel-rapid-start/wakeup_events +Date: July 2, 2013 +KernelVersion: 3.11 +Contact: Matthew Garrett <[email protected]> +Description: An integer representing a set of wakeup events as follows: + 1: Wake to enter hibernation when the wakeup timer expires + 2: Wake to enter hibernation when the battery reaches a + critical level + + These values are ORed together. For example, a value of 3 + indicates that the system will wake to enter hibernation when + either the wakeup timer expires or the battery reaches a + critical level. + +What: /sys/bus/acpi/intel-rapid-start/wakeup_time +Date: July 2, 2013 +KernelVersion: 3.11 +Contact: Matthew Garrett <[email protected]> +Description: An integer representing the length of time the system will + remain asleep before waking up to enter hibernation. + This value is in minutes.
drivers/platform/x86/intel-rst.c new file +209 -0
209 lines not on this page · raw message
Signature · 1 line
1.8.3.1
Quoted 12 lines · Matthew Garrett
Intel Rapid Start Technology is a firmware-based suspend-to-disk implementation. Once placed in S3, the device will wake once either a timeout elapses or the battery reaches a critical level. It will then resume to the firmware and copy the contents of RAM to a specialised partition, and then power off the machine. If the user turns the machine back on the firmware will copy the contents of the partition back to RAM and then resume from S3 as normal.
This driver provides an interface for configuring the wakeup events and timeout. It still requires firmware support and an appropriate suspend partition.
Quoted 7 lines
Signed-off-by Matthew Garrett <[email protected]>--- .../ABI/testing/sysfs-driver-intel-rapid-start | 21 +++ drivers/platform/x86/intel-rst.c | 209 +++++++++++++++++++++ 2 files changed, 230 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-rapid-start create mode 100644 drivers/platform/x86/intel-rst.c
Kconfig and Makefile changes?
Is RST described in the current ACPI spec or somewhere else?
thanks,
Signature · 1 line
~Randy
Quoted 1 line · Randy Dunlap
KconfigandMakefilechanges?
Ugh. Miscommit.
Quoted 1 line
Is RST described in the current ACPI spec or somewhere else?
No, this is from staring at disassembled ACPI tables.
Signature · 1 line
Matthew Garrett | [email protected]