Skip to content

[DNM] acp_7_x: enable ACP DMA log backend - #11089

Open
DINESHKUMARK1 wants to merge 2 commits into
thesofproject:mainfrom
DINESHKUMARK1:amd_acp_logger
Open

[DNM] acp_7_x: enable ACP DMA log backend#11089
DINESHKUMARK1 wants to merge 2 commits into
thesofproject:mainfrom
DINESHKUMARK1:amd_acp_logger

Conversation

@DINESHKUMARK1

Copy link
Copy Markdown
Contributor

Enable the AMD ACP DMA logging backend on the ACP 7.X ADSP board so
firmware logs are streamed to the host over ACP DMA.

Changes:

  • platform: amd: acp_7_x: move the IPC interrupt to EXT_LEVEL5, freeing
    EXT_LEVEL3 for the log DMA completion interrupt
  • acp_7_x: board: enable CONFIG_LOG_BACKEND_ACP with immediate log mode
    and INF log level

Dependencies / merge order:

  1. acp_7_x: board: enable ACP panic dump coredump backend (depends on Zephyr PR115923) #11082 — merge first
  2. this PR

Also requires the Zephyr backend support from
zephyrproject-rtos/zephyr#116146 (and the SOF west manifest pointing at a
Zephyr revision that includes it), since this board config selects
CONFIG_LOG_BACKEND_ACP.

Do not merge before #11082.

Move the host to DSP software (IPC) interrupt from EXT_LEVEL3 to
EXT_LEVEL5 so the ACP DMA log backend can own EXT_LEVEL3 for its DMA
completion interrupt without colliding with IPC. Update the IPC
handler registration and the PLATFORM_IPC_INTERRUPT definition
accordingly, and fix a comment typo.

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
Enable CONFIG_LOG_BACKEND_ACP on the ACP 7.X ADSP board and
the  firmware logs are streamed to the host over ACP DMA.
Set the SOF log level to INF explicitly, as the SOF log
level configuration must be selected explicitly.

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
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.

1 participant