zephyr: lib/dma.h: limit use of platform/lib/dma.h#9667
zephyr: lib/dma.h: limit use of platform/lib/dma.h#9667lgirdwood merged 3 commits intothesofproject:mainfrom
Conversation
| select XT_INTERRUPT_LEVEL_5 | ||
| select INTEL_MN | ||
| select WAKEUP_HOOK | ||
| select SCHEDULE_DMA_SINGLE_CHANNEL |
There was a problem hiding this comment.
nice! Can some of these be removed completely? E.g. INTEL_MN looks Intel-specific, and we don't do XTOS builds on "main" any more?
There was a problem hiding this comment.
Others are removed, but INTEL_MN seems to have more complex baggage still in place. I'm afraid the Zephyr SSP driver depends on this (still)... needs to be cleaned up before this can be merged.
There was a problem hiding this comment.
@lyakh ok, now filed zephyrproject-rtos/zephyr#81734 for Zephyr and will submit a separate PR for SOF for this. I'll update this series to still keep INTEL_MN.
|
Hmm, ok, there's a failure on imx8m that I missed: https://github.com/thesofproject/sof/actions/runs/11914362596/job/33202110141?pr=9667 |
fae13c5 to
e5a2d68
Compare
|
V2:
|
Remove unused Kconfig dependencies for CONFIG_CAVS. These were valid entries for XTOS builds, but as CAVS no longer has any XTOS suppot in the tree, these can be now removed. Equivalent settings are now moved all to Zephyr. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
The platform lib/dma.h definitions are only needed in a small set of usages. Make the inclusion conditional and add a note to guide new configurations to use CONFIG_DMA_DOMAIN instead. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
The platform lib/dma.h is no longer needed in SOF Zephyr builds unless the legacy DMA domain scheduler is used. This is not the case for any Intel target, so the lib/dma.h headers can be removed. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
e5a2d68 to
eb516a9
Compare
|
V3:
|
Cannot remove platform/lib/dma.h completely, but limit its use and make it optional for new targets.
Link: #5794