Commit 6f257934 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge branches 'pm-sleep', 'pm-domains' and 'pm-tools'

Merge a hiberantion-related fix, a generic power domains code fix and
a pm-graph update for 6.1-rc1:

 - Allow hybrid sleep to use suspend-to-idle as a system suspend method
   if it is the current suspend method of choice (Mario Limonciello).

 - Fix handling of unavailable/disabled idle states in the generic
   power domains code (Sudeep Holla).

 - Update the pm-graph suite of utilities to version 5.10 which is
   fixes-mostly and does not add any new features (Todd Brandt).

* pm-sleep:
  PM: hibernate: Allow hybrid sleep to work with s2idle

* pm-domains:
  PM: domains: Fix handling of unavailable/disabled idle states

* pm-tools:
  pm-graph v5.10
...@@ -2952,6 +2952,10 @@ static int genpd_iterate_idle_states(struct device_node *dn, ...@@ -2952,6 +2952,10 @@ static int genpd_iterate_idle_states(struct device_node *dn,
np = it.node; np = it.node;
if (!of_match_node(idle_state_match, np)) if (!of_match_node(idle_state_match, np))
continue; continue;
if (!of_device_is_available(np))
continue;
if (states) { if (states) {
ret = genpd_parse_state(&states[i], np); ret = genpd_parse_state(&states[i], np);
if (ret) { if (ret) {
......
...@@ -645,7 +645,7 @@ static void power_down(void) ...@@ -645,7 +645,7 @@ static void power_down(void)
int error; int error;
if (hibernation_mode == HIBERNATION_SUSPEND) { if (hibernation_mode == HIBERNATION_SUSPEND) {
error = suspend_devices_and_enter(PM_SUSPEND_MEM); error = suspend_devices_and_enter(mem_sleep_current);
if (error) { if (error) {
hibernation_mode = hibernation_ops ? hibernation_mode = hibernation_ops ?
HIBERNATION_PLATFORM : HIBERNATION_PLATFORM :
......
...@@ -6,22 +6,22 @@ ...@@ -6,22 +6,22 @@
|_| |___/ |_| |_| |___/ |_|
pm-graph: suspend/resume/boot timing analysis tools pm-graph: suspend/resume/boot timing analysis tools
Version: 5.9 Version: 5.10
Author: Todd Brandt <todd.e.brandt@intel.com> Author: Todd Brandt <todd.e.brandt@intel.com>
Home Page: https://01.org/pm-graph Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html
Report bugs/issues at bugzilla.kernel.org Tools/pm-graph Report bugs/issues at bugzilla.kernel.org Tools/pm-graph
- https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools
Full documentation available online & in man pages Full documentation available online & in man pages
- Getting Started: - Getting Started:
https://01.org/pm-graph/documentation/getting-started https://www.intel.com/content/www/us/en/developer/articles/technical/usage.html
- Config File Format: - Feature Summary:
https://01.org/pm-graph/documentation/3-config-file-format https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html
- upstream version in git: - upstream version in git:
https://github.com/intel/pm-graph/ git clone https://github.com/intel/pm-graph/
Table of Contents Table of Contents
- Overview - Overview
......
...@@ -78,6 +78,9 @@ This helps maintain the consistency of test data for better comparison. ...@@ -78,6 +78,9 @@ This helps maintain the consistency of test data for better comparison.
If a wifi connection is available, check that it reconnects after resume. Include If a wifi connection is available, check that it reconnects after resume. Include
the reconnect time in the total resume time calculation and treat wifi timeouts the reconnect time in the total resume time calculation and treat wifi timeouts
as resume failures. as resume failures.
.TP
\fB-wifitrace\fR
Trace through the wifi reconnect time and include it in the timeline.
.SS "advanced" .SS "advanced"
.TP .TP
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment