Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Mar 11, 2024

Disable CONFIG_WINSTREAM_CONSOLE in all Intel configs that enable SOF mtrace for logging. Also disable CONFIG_LOG_BACKEND_ADSP that uses winstream as backend. No need to have two memory window based logging backends enabled at the same time.

Disable CONFIG_WINSTREAM_CONSOLE in all Intel configs that enable SOF
mtrace for logging. Also disable CONFIG_LOG_BACKEND_ADSP that uses
winstream as backend. No need to have two memory window based logging
backends enabled at the same time.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Mar 11, 2024

FYI @tobonex and @jsarha , I know you are working with related changes touching the debug window/slot configuration. This gets rid of one user of window3. Note that Zephyr unit tests still rely on winstream console and the location of the buffer is hardcoded in many places.

CONFIG_ZEPHYR_LOG=y
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
CONFIG_LOG_BACKEND_ADSP=n
CONFIG_WINSTREAM_CONSOLE=n
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, do we need CONFIG_CONSOLE?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lyakh Maybe not, but that's a bit separate discussion where to disable that. As far as I can tell, having it enabled does not bring new code to SOF build.

@kv2019i
Copy link
Collaborator Author

kv2019i commented Mar 13, 2024

@tobonex @lyakh @marcinszkudlinski @jsarha .. ping?

@tobonex
Copy link
Contributor

tobonex commented Mar 13, 2024

If it just removes some content from memory window 3 then it probably won't affect my changes.

Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me, if nobody uses it.

@kv2019i kv2019i merged commit 0b1d36a into thesofproject:main Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants