Skip to content

[BUG] etrace sometimes empty on BDW and BYT #5385

@marc-hb

Description

@marc-hb

The shared memory "etrace" is sometimes empty on BDW and BYT

This makes the sof-logger test fails like this:

[REMOTE_ERROR] Initial FW ABI banner not found in sof-test/logs/check-sof-logger/2021-___/logger.etrace.txt

Initializing the DMA trace earlier reproduces this 100% of the time: #4334. Plenty of examples there.

In theory the DMA trace and etrace should be independent from each other. But in practice, theory and practice are different.

While much much rarer, it can also happen WITHOUT the #4334 code change, examples:

https://sof-ci.01.org/sofpr/PR5019/build11260/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4808/build10525/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4787/build10401/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4777/build10384/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4724/build10447/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger

In daily run 7315?model=BDW_WSB_RT286&testcase=check-sof-logger

From vague memories of the code the DMA hardware seems very different on BDW and BYT.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-impact bugs or featuresbugSomething isn't working as expectedwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions