Skip to content

Commit 6f25793

Browse files
committed
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
4 parents f5c8cf2 + 85850af + e0c57a5 + 9bfb097 commit 6f25793

File tree

5 files changed

+123
-123
lines changed

5 files changed

+123
-123
lines changed

drivers/base/power/domain.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2952,6 +2952,10 @@ static int genpd_iterate_idle_states(struct device_node *dn,
29522952
np = it.node;
29532953
if (!of_match_node(idle_state_match, np))
29542954
continue;
2955+
2956+
if (!of_device_is_available(np))
2957+
continue;
2958+
29552959
if (states) {
29562960
ret = genpd_parse_state(&states[i], np);
29572961
if (ret) {

kernel/power/hibernate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static void power_down(void)
645645
int error;
646646

647647
if (hibernation_mode == HIBERNATION_SUSPEND) {
648-
error = suspend_devices_and_enter(PM_SUSPEND_MEM);
648+
error = suspend_devices_and_enter(mem_sleep_current);
649649
if (error) {
650650
hibernation_mode = hibernation_ops ?
651651
HIBERNATION_PLATFORM :

tools/power/pm-graph/README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
|_| |___/ |_|
77

88
pm-graph: suspend/resume/boot timing analysis tools
9-
Version: 5.9
9+
Version: 5.10
1010
Author: Todd Brandt <[email protected]>
11-
Home Page: https://01.org/pm-graph
11+
Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html
1212

1313
Report bugs/issues at bugzilla.kernel.org Tools/pm-graph
1414
- https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools
1515

1616
Full documentation available online & in man pages
1717
- Getting Started:
18-
https://01.org/pm-graph/documentation/getting-started
18+
https://www.intel.com/content/www/us/en/developer/articles/technical/usage.html
1919

20-
- Config File Format:
21-
https://01.org/pm-graph/documentation/3-config-file-format
20+
- Feature Summary:
21+
https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html
2222

2323
- upstream version in git:
24-
https://github.com/intel/pm-graph/
24+
git clone https://github.com/intel/pm-graph/
2525

2626
Table of Contents
2727
- Overview

tools/power/pm-graph/sleepgraph.8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ This helps maintain the consistency of test data for better comparison.
7878
If a wifi connection is available, check that it reconnects after resume. Include
7979
the reconnect time in the total resume time calculation and treat wifi timeouts
8080
as resume failures.
81+
.TP
82+
\fB-wifitrace\fR
83+
Trace through the wifi reconnect time and include it in the timeline.
8184

8285
.SS "advanced"
8386
.TP

0 commit comments

Comments
 (0)