Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thesofproject/sof-test
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: thesofproject/sof-test
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: kmod-remove-snd-ump
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Aug 22, 2026

  1. tools: kmod: remove snd_ump before snd_rawmidi

    On MIDI2-enabled kernels snd_ump is loaded even when nothing is using
    it, and it holds a reference on snd_rawmidi. sof_remove.sh has no entry
    for it, so removal fails:
    
      RMMOD	snd_rawmidi
      rmmod: ERROR: Module snd_rawmidi is in use by: snd_ump
      /home/ubuntu/sof-test/tools/kmod/sof_remove.sh FAILED
    
    That aborts reload_drivers() and every subsequent test case that reloads
    the driver stack fails with it -- on a NVL-S run this turned into ~15
    consecutive failures starting at check-sof-logger.
    
    Remove snd_ump just before snd_rawmidi. remove_module() already SKIPs
    modules that are not loaded, so this is a no-op on kernels built without
    CONFIG_SND_UMP.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    harajend and claude committed Aug 22, 2026
    Configuration menu
    Copy the full SHA
    53eea91 View commit details
    Browse the repository at this point in the history
Loading