Skip to content

[BUG] WFI Panic when processing CTX_SAVE IPC #2123

Closed

Description

@ranj063

Describe the bug
Panic when processing CTX_SAVE IPC while trying to wait_for_interrupt with level 0 from the IPC task.

To Reproduce
Boot FW with PM enabled (thesofproject/linux#1523)

Reproduction Rate
100%

Expected behavior
No panic with WFI

Impact
When the panic happens, the FW sends the panic message to the host
and goes into an infinite loop while(1);
This doesnt seem to impact any usecase and the resume flow thereafter but the DSP is not really in D3 either.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: sof-byt-.tplg/sof-cht-.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: BYT/CHT

Activity

  1. added
    bugSomething isn't working as expected
    BYTApplies to Baytrail platform
    on Nov 21, 2019
  2. ranj063 commented on Nov 21, 2019

    @ranj063
    CollaboratorAuthor

    @tlauda FYI.

    Moving the WFI to the audio task with run level 0 helps fix the panic but then the FW fails to boot randomly upon resuming from D3.

  3. added
    P1Blocker bugs or important features
    on Nov 22, 2019
  4. plbossart commented on Dec 4, 2019

    @plbossart
    Member

    @tlauda FYI.

    Moving the WFI to the audio task with run level 0 helps fix the panic but then the FW fails to boot randomly upon resuming from D3.

    @ranj063 can you clarify if PR #2137 fully solves this issue or not? It not clear from your write-up if additional changes are needed or not.

  5. slawblauciak commented on Jan 21, 2020

    @slawblauciak
    Collaborator

    Is this issue still reproducible on master?

  6. added
    P2Critical bugs or normal features
    and removed
    P1Blocker bugs or important features
    on Feb 18, 2020
  7. tlauda commented on Mar 13, 2020

    @tlauda
    Contributor

    @ranj063 Ping.

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

Metadata

Metadata

Assignees

Labels

BYTApplies to Baytrail platformP2Critical bugs or normal featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions