diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-06 17:37:53 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-06 17:37:53 +0200 |
| commit | 76f97899ec65489c8f720ab1803587c60d8648ea (patch) | |
| tree | 11da69e95e224951d59206ddab15bd06594e3337 /tools/perf/scripts/python | |
| parent | 8afbacbcaebc41628a979aaf3fc07866e581fb9b (diff) | |
| parent | bb8afd437d79161592663142a67179565dce4f41 (diff) | |
ASoC: qcom: enable audio on stage-2 protected DSPs (mDSP)
Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com> says:
On platforms such as Qualcomm Shikra, audio is served by the modem DSP
(mDSP) rather than the ADSP. The mDSP runs in a stage-2 protected context
and cannot use the SMMU, so the PCM buffers it consumes must live in
reserved-memory carveouts that are handed to the consumer VMIDs via a
hypervisor (SCM) memory assignment. This series adds that access model to
the q6apm DAI driver and its binding, alongside the existing stage-1/SMMU
(iommus) path, which is left untouched.
The driver detects the mDSP target at runtime from the GPR domain_id
(GPR_DOMAIN_ID_MODEM) and enables the SCM assignment path automatically.
VMIDs are hardcoded in the driver (HLOS + MSS_MSA + LPASS) rather than
read from DT, following the consensus from v2 review discussion with
Krzysztof Kozlowski and Srinivas Kandagatla.
Tested on Qualcomm Shikra with mDSP audio playback and capture.
Link: https://patch.msgid.link/20260923-vmid-v4-v6-0-3d61a0319b1c@oss.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
