Skip to content

intel: uaol: disable UAOL by default instead of via COMPAT_PRIORITY - #11567

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
ujfalusi:peter/pr/uaol-decouple-from-COMPAT_PRIORITY
Dec 1, 2026
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
ujfalusi:peter/pr/uaol-decouple-from-COMPAT_PRIORITY

Conversation

@ujfalusi

@ujfalusi ujfalusi commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

UAOL was enabled by default on all ACE platforms and SOF_OS_LINUX_COMPAT_PRIORITY only skipped reading the UAOL capabilities, because Linux 7.0 and older do not enable UAOL access and reading the capabilities causes a DSP panic. In the default build the firmware thus reported UAOL as supported, but provided no UAOL capabilities, and disabling COMPAT_PRIORITY to get UAOL also changed unrelated defaults, like VIRTUAL_HEAP_EXTENDED.

Make UAOL an explicit opt-in instead: drop the ACE default for CONFIG_UAOL, remove the COMPAT_PRIORITY guards around the UAOL capabilities, add app/uaol_overlay.conf to enable UAOL and enable CONFIG_UAOL in internal_ci_overlay.conf.
With UAOL disabled the firmware reports no UAOL support and does not access the UAOL hardware, with UAOL enabled the capabilities are always reported.

Copilot AI balanced review requested due to automatic review settings December 1, 2026 07:04
@ujfalusi
ujfalusi force-pushed the peter/pr/uaol-decouple-from-COMPAT_PRIORITY branch from 51a7697 to 7cf17f4 Compare December 1, 2026 07:05
UAOL was enabled by default on all ACE platforms and
SOF_OS_LINUX_COMPAT_PRIORITY only skipped reading the UAOL
capabilities, because Linux 7.0 and older do not enable UAOL access
and reading the capabilities causes a DSP panic. In the default build
the firmware thus reported UAOL as supported, but provided no UAOL
capabilities, and disabling COMPAT_PRIORITY to get UAOL also changed
unrelated defaults, like VIRTUAL_HEAP_EXTENDED.

Make UAOL an explicit opt-in instead: drop the ACE default for
CONFIG_UAOL, remove the COMPAT_PRIORITY guards around the UAOL
capabilities, add app/uaol_overlay.conf to enable UAOL and enable
CONFIG_UAOL in internal_ci_overlay.conf.
With UAOL disabled the firmware reports no UAOL support and does
not access the UAOL hardware, with UAOL enabled the capabilities
are always reported.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the UAOL opt-in changes.

No open issues 🎉

What changed in this PR

Makes USB Audio Offload Link (UAOL) an explicit opt-in in SOF, separating it from Linux compatibility settings and avoiding hardware access by default on unsupported host drivers.

Changes:

  • Removes the default UAOL enablement on Intel ACE platforms.
  • Reports UAOL capabilities whenever UAOL is enabled, independently of compatibility mode.
  • Adds a dedicated UAOL overlay and enables UAOL in the internal CI overlay.
File Description
src/​kernel/​audio/​intel_uaol-kernel.c Removes the compatibility guard around capability reporting.
src/​kernel/​audio/​base_fw_intel.c Gates capability reporting solely on UAOL support and updates the explanatory comment.
src/​include/​sof/​audio/​intel_uaol.h Removes the compatibility guard from the capability function declaration.
app/​uaol_overlay.conf Adds an opt-in overlay with host-driver compatibility guidance.
app/​internal_ci_overlay.conf Explicitly enables UAOL for internal CI.
app/​boards/​intel_adsp/​Kconfig.defconfig Removes automatic UAOL enablement on ACE platforms.

Review effort: Balanced

@intel-sofci

intel-sofci commented Dec 1, 2026 •

Copy link
Copy Markdown

PR 11567: test results

Run date: 2026-12-01 14:38 UTC

Tested commit: 7cf17f4555530af40d8ca932e332e7c667afbd5d

mtl pass rate lnl pass rate ptl pass rate wcl pass rate nvl pass rate

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. this is the right path forward.

@lgirdwood
lgirdwood merged commit 829c0ac into thesofproject:main Dec 1, 2026
44 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants