Skip to content

[BUG] SoundWire BPT/BRA w/ CHAIN_DMA fails with DMA buffer-alloc failure #8751

@plbossart

Description

@plbossart

Describe the bug
When trying stress tests on the SoundWire BPT/BRA protocol with a CHAIN_DMA, I see a buffer allocation failure after exactly 60 iterations

To Reproduce
Need dedicated kernel branch thesofproject/linux#4679

Reproduction Rate
100%

Expected behavior
no buffer allocation issues.

Impact
showstopper for the feature, but not immediate P1

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).

  2. Name of the topology file
    n/a

  3. Name of the platform(s) on which the bug is observed.
    LNL

Screenshots or console output
chain-dma-alloc-fail.txt

The alloc failure seems to happen exactly at the same iteration, so this looks like a memory leak of sorts.

root@jf-lnlm-rvp-sdw-1:~# bash loop.sh 
0
1
2
...
57
58
59
60
write.sh: line 9: echo: write error: Invalid argument

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions