Skip to content

[BUG] cavs: icl: core 3 must be powered on startup by the driver #2434

Closed

Description

@mmaka1

Describe the bug
Since the DSP starts at full throttle (HP-RO 400 MHz is used as a clock source), the driver should set SPA for core3 in addition to core0 in order to propagate required notifications to other units. This should be done "silently", run-time environment for core3 is not required at this point, so the FW does not need to know about this.

In future, when more power optimizations will be implemented for icl, the FW will notify the driver (some new pwr state changed notification) when switching to LP-RO 120 MHz and back and the driver may toggle core3 SPA accordingly.

Activity

  1. plbossart commented on Aug 22, 2019

    @plbossart
    Member

    @mmaka1 care to provide more details? We see random IPC and underflows on ICL w/ SoundWire, if there is a connection.

  2. changed the title [-][WIP] [BUG] cavs: core 3 must be powered on for loads > 120 MCPS on icl[/-] [+][BUG] cavs: icl: core 3 must be powered on startup by the driver[/+] on Aug 22, 2019
  3. lgirdwood commented on Aug 30, 2019

    @lgirdwood
    Member

    @plbossart @ranj063 has anyone tried this yet ?

  4. ranj063 commented on Aug 30, 2019

    @ranj063
    Collaborator

    @lgirdwood I dont think we've tried it yet. I think Pierre asked for more details but @mmaka1 hasnt replied yet.

    At the moment the code loading sequence powers up all 4 cores before loading the FW. Not sure what Marcin means here and when Core 3 should be powered up precisely.

  5. lbetlej commented on Jan 7, 2020

    @lbetlej

    @ranj063 I'll get back to you once SW/FW programming sequence is finalized for scenarios that require HP Ring Oscillator (400 MHz) clock. Could you confirm current implementation in the driver for initial boot:

    1. Set SPA(0..PLATFORM_CORE_COUNT) bit
    2. Wait for CPA (0..PLATFORM_CORE_COUNT) bit
    3. Wait for FW ready
    4. SPA is not set to 0 for cores (1..PLATFORM_CORE_COUNT) -> all cores are up ?
  6. tlauda commented on Apr 29, 2020

    @tlauda

    @lbetlej Should we move this to linux repo, since it looks like additional work for kernel?

  7. added
    ICLApplies to Icelake platform
    bugSomething isn't working
    on Sep 15, 2020
  8. plbossart commented on Sep 15, 2020

    @plbossart
    Member

    I don't understand what the issue is and what in the driver code should be modified. As @ranj063 mentioned it all 4 cores get powered.

  9. mengdonglin commented on Sep 21, 2020

    @mengdonglin

    @ranj063 @fredoh9 Can we close this issue now if all 4 cores get powered? Or need we wait for ICCMAX implementation on ICL is done on ICL?

  10. fredoh9 commented on Sep 25, 2020

    @fredoh9
    Collaborator

    There was some fixes required in SOF firmware. First one is thesofproject/sof#3465,

    I got a patch today. Will continue to work on this.
    thesofproject/sof#3473

  11. fredoh9 commented on Sep 28, 2020

    @fredoh9
    Collaborator

    Without https://github.com/thesofproject/sof/pull/2957/files, there is no extended manifest support. This is not SOF v1.6 blocker.

  12. fredoh9 commented on Nov 16, 2020

    @fredoh9
    Collaborator

    #2548 merged

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

Metadata

Metadata

Assignees

Labels

ICCMAXICLApplies to Icelake platformP2Critical 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