Repository navigation
Conversation
The scheduler free operation took a flags argument, and the only flag, SOF_SCHEDULER_FREE_IRQ_ONLY, asked the XTOS LL scheduler to only free its interrupt. The XTOS LL scheduler was removed, and none of the remaining schedulers (the Zephyr LL scheduler and the host library LL and EDF schedulers) uses the flags. The only caller, the testbench, passes 0. Remove SOF_SCHEDULER_FREE_IRQ_ONLY and the flags argument of the scheduler free operation and of schedule_free(). No functional change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
On Zephyr, sof/lib/mm_heap.h is an empty compatibility header, kept from the XTOS heap. The Zephyr platform, init and IPC3 sources that include it use nothing from it. Remove the header and those includes, and its entry in the kernel-only header list. The host library keeps its own posix/include/sof/lib/mm_heap.h, which defines its heap. No functional change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
task_main_primary_core() was the main task of the XTOS firmware. The host task header still declares it, but nothing defines or calls it. Remove the declaration. No functional change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #11306: remove three leftovers of the XTOS firmware that nothing uses any more.
Patches
schedule: remove the scheduler free flags.SOF_SCHEDULER_FREE_IRQ_ONLY, asked the XTOS LL scheduler to free only its interrupt. That scheduler was removed in Kernel/user partition, Phase 5 part 4: remove the clock change notification and the XTOS LL scheduler #11513.flagsargument of the scheduler free operation and ofschedule_free()go. This was a follow-up from the review of Kernel/user partition, Phase 5 part 4: remove the clock change notification and the XTOS LL scheduler #11513.lib: remove the empty Zephyrsof/lib/mm_heap.h.posix/include/sof/lib/mm_heap.h, which defines its heap.posix: rtos: task: remove the declaration oftask_main_primary_core(), the main task of the XTOS firmware. Nothing defines or calls it.Functional change
None.
Testing
CONFIG_SOF_USERSPACE_PROXY=n;os_linux_overlay.conf;llext_relocatable.conf;app/debug_stream_overlay.conf, and PTL with that overlay and user-space LL;internal_ci_overlay.conf.SYS_INIT()order), and the per-function disassembly. No object changes at any commit. The only image difference issof_init()on the Cortex-M and imx93 builds, which embeds the git hash.--strict, for the builds and for the sources;All of the above was run on 4bdfa15 (current main).
🤖 Generated with Claude Code