Files
mu300-linux/kernel
Abdurrahman Kaan DikeçandClaude Opus 5 e71a1400b6 The DSP memory reservation works, and the card now parses 57 of 58 links
Verified on the device after rebooting into the patched kernel. Both ranges are reserved at boot, audio_mem
takes them from its module parameters, and the audio SIPC channel that used to answer ENODEV now allocates its
blocks inside the reserved region and sends to the DSP:

  OF: fdt: Reserved memory: reserved 0x00000000af700000 size 0x0000000000300000 (reserved_mem_add)
  [Audio:MEM] dsp_bin (addr, size): (0xaf700000, 0x300000)
  [Audio:SBLCK] audio_sblock_create: p_rxblks[6].addr 0xaf71d060
  [Audio:SMSG] aud_smsg_send: dst=1, channel=3

The machine card went from deferring at dai link 0 for ever to parsing 57 of 58, BE_VOICE_PCM_P - the back end
the SIP gateway wants - among them. It stops on the last, BE_FAST_P_SMART_AMP, which asks for the smart
amplifier this board does not have: nothing answers at I2C 0x34 and the device tree's own sprd,spk-ext-pa-info
count fails with -22. Links whose codec phandle is missing already fall back to a dummy codec, but one that
defers is fatal, asoc_sprd_card_probe gives up, and nothing re-probes.

So the remaining work has moved off the DSP memory entirely: let a deferring codec fall back to the dummy the
way a missing one does, and supply an image for sprd_audcp_boot.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-21 01:37:19 +03:00
..