Skip to contentSkip to conversation

New: [intel_pstate] pstate settings are lost during suspend/resume cycle

Bug 80651 [email protected] 1 participant 6 messages Jul 18, 2014 – Jul 21, 2014

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=80651

            Bug ID: 80651
           Summary: [intel_pstate] pstate settings are lost during
                    suspend/resume cycle
           Product: Power Management
           Version: 2.5
    Kernel Version: 3.15.6
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: cpufreq
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 143431
--> https://bugzilla.kernel.org/attachment.cgi?id=143431&action=edit
dmesg output

Hello,

the patches that went into 3.15.6 made the intel_pstate driver finally useable for me. At least as long as I don't suspend/resume the system.

After resume the multiplicator is locked to the highest one. I have to change min_perf_pct and max_perf_pct to some other values and then back to restore the behaviour before the suspend.

CPU is a Haswell / i7-4700HQ.

With best wishes,
Tobias

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 80651] [intel_pstate] pstate settings are lost during suspend/resume cycle

https://bugzilla.kernel.org/show_bug.cgi?id=80651

Tobias Jakobi <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #143431|application/octet-stream    |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 80651] [intel_pstate] pstate settings are lost during suspend/resume cycle

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=80651

--- Comment #2 from Tobias Jakobi <[email protected]> --- Created attachment 143451
--> https://bugzilla.kernel.org/attachment.cgi?id=143451&action=edit
i7z output

This is some generic output by i7z when the cpu is in 'low' perf mode (max_perf_pct=55, min_perf_pct=23, no_turbo=1).

After resume, while these settings above didn't change, the multiplicator sticks to around 24.5.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 80651] [intel_pstate] pstate settings are lost during suspend/resume cycle

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=80651

--- Comment #3 from Tobias Jakobi <[email protected]> ---
I realized that changing and restoring the values doesn't quite do it. The issue seems related to the fact that I usually have two of the four cores disabled (by offlining the cpus that are associated to core ids 2 and 3).

I have to bring all cores online again, then set the values, and then I can take core 2 and 3 offline again.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 80651] [intel_pstate] pstate settings are lost during suspend/resume cycle

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=80651

Lan Tianyu <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]
           Assignee|[email protected]     |[email protected]
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.