Skip to content

[GLK] Suspend/resume failed at second time with HDMI/DP connected #178

Closed

Description

@keqiaozhang

How to reproduce:

  1. sudo suspend_stress_test -c 10
    chronos@localhost ~ $ sudo suspend_stress_test -c 10
    Password:
    Running 10 iterations with:
    suspend: 5-10 seconds
    wake: 5-10 seconds
    backup_rtc: false
    errors_fatal: true
    fw_errors_fatal: true
    bugs fatal: true
    warnings fatal: false
    crcs fatal: true
    suspend command: powerd_dbus_suspend --delay=0
    wakeup source to ignore: none
    record_dmesg_dir:
    pm_print_times: true
    powerd start/running, process 2684
    tlsdated stop/waiting
    Suspend 1 of 10: sleep for 6 seconds... wake for 10 seconds...
    Suspend 2 of 10: sleep for 10 seconds...Suspend failed.

powerd start/running, process 3076
tlsdated start/running, process 3094

Finished 2 iterations.
Suspend_failures: 1
Firmware log errors: 0
s0ix errors: 0

The output shows that suspend failed at the second time. without HDMI/DP, suspend/resume work well.

Test ENV:
SOF: 22fa01d059589b4710c12f1e8718ffdb73d75f18 branch: glk-003-drop-stable
SOFT: 6157e89 branch: master
kernel: 274bfc6 branch: topic/cros-sof-v4.14-rebase

dmesg.log
rmbox-t.log

Activity

  1. added
    P1Blocker bugs or important features
    GLKApplies to Gemini Lake
    on Oct 8, 2018
  2. ranj063 commented on Oct 8, 2018

    @ranj063
    Collaborator

    @keqiaozhang is this behaviour seen after you start audio playback or without audio playback?

  3. keqiaozhang commented on Oct 9, 2018

    @keqiaozhang
    Author

    @ranj063
    This issue can be reproduced without audio playback, only need to connect the HDMI or DP monitor.

  4. ranj063 commented on Oct 9, 2018

    @ranj063
    Collaborator

    @keqiaozhang can we close this issue now that it works with the updated ucm?

  5. keqiaozhang commented on Oct 10, 2018

    @keqiaozhang
    Author

    @ranj063
    Unfortunately, this issue still can be reproduced with the updated UCM, Confirmed that Pin*-Port* and hif*-* are set correctly in amixer setting and both two Yorp boards get the same result.

  6. mengdonglin commented on Oct 12, 2018

    @mengdonglin

    Keqiao verified that PR #186 can fix this issue.

  7. keqiaozhang commented on Oct 16, 2018

    @keqiaozhang
    Author

    This issue is almost fixed except for one case: with playing audio on HDMI via command line(console), suspend/resume will cause system reboot. Since this is not a common case for user, so adjust the priority as P2.

  8. added
    P2Critical bugs or normal features
    and removed
    P1Blocker bugs or important features
    on Oct 16, 2018
  9. plbossart commented on Oct 31, 2018

    @plbossart
    Member

    @keqiaozhang can we have information on this? Anything that causes a system reboot is pretty much a P1 bug in my book?

  10. keqiaozhang commented on Nov 1, 2018

    @keqiaozhang
    Author

    I will re-test this issue with new kernel branch(debug/cros-sof-v4.14-rebase ) and update the result soon.

  11. keqiaozhang commented on Nov 1, 2018

    @keqiaozhang
    Author

    I still can reproduce this issue under the following condition:

    1. run aplay -Dhw:0,5 -f dat -c 2 audio.wav via commad line(shell console)
    2. do suspend/resume in another console.

    Tested with:
    soft-master:4ac9248f
    sof-master:43da16
    kernel-debug/cros-v4.14-rebase: 90eee4

  12. keqiaozhang commented on Nov 13, 2018

    @keqiaozhang
    Author

    This issue is fixed on Ranjani's personal kernel branch-cros-sof-v4.14-rebase.
    I will close this issue once the google release branch is updated(thesofproject/linux/tree/topic/cros-sof-v4.14).

    kernel driver- ranja063-cros-sof-v4.14-rebase:a38231
    sof-master:1607737
    soft-master:2cd668c

  13. keqiaozhang commented on Nov 15, 2018

    @keqiaozhang
    Author

    Confirmed that this issue is fixed.
    Kernel-topic/cros-sof-v4.14-rebase: a38231
    DSP FW-origin/glk-004-drop-stable: 1f79920
    Topology-origin/master: 5894ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GLKApplies to Gemini LakeP2Critical bugs or normal featuresbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions