linux icon indicating copy to clipboard operation
linux copied to clipboard

New memory domain logic

Open jsarha opened this issue 3 months ago • 5 comments

This is my first step towards implementing pipeline specific heaps. There is brand new create message payload definition and implementation. However, the target has already moved so that this payload is not enough anymore.

There is also a problem that it looks like the FW receives some pipeline create messages with payload bit set, but the payload is not there. Firmware receives two messages where linux driver only logs about sending only one. This probably has something to do with forwarding the messages form core 0 to core 2. I have no idea how this can happen, but as I should move to work on kernel heap, I leave the debugging for now.

The FW side code is here: https://github.com/thesofproject/sof/pull/10265

jsarha avatar Sep 17 '25 20:09 jsarha

FYI @ranj063 @lyakh @lgirdwood

jsarha avatar Sep 17 '25 20:09 jsarha

Updated to match and work with https://github.com/thesofproject/sof/pull/10281 . I will address the review comments at later time.

jsarha avatar Dec 03 '25 19:12 jsarha

I'll mark this ready for review, but before merging it should be checked that https://github.com/thesofproject/sof/pull/10265 is also going to go in without changes to IPC payload.

jsarha avatar Dec 04 '25 13:12 jsarha

The review comments are now addressed, but there is one loose end. The module init payload still uses the old DP memory data in the payload. Its easy change that too, but I need to work on the FW side for it to understand it and to be able to test the code.

jsarha avatar Dec 11 '25 18:12 jsarha

Change module init IPC payload as requested by @lgirdwood .

jsarha avatar Dec 14 '25 23:12 jsarha