Skip to content

app: overlays: ptl: add ll_usespace_overlay.conf#10840

Merged
kv2019i merged 1 commit into
thesofproject:mainfrom
kv2019i:202606-user-ll-overlay
Jun 4, 2026
Merged

app: overlays: ptl: add ll_usespace_overlay.conf#10840
kv2019i merged 1 commit into
thesofproject:mainfrom
kv2019i:202606-user-ll-overlay

Conversation

@kv2019i
Copy link
Copy Markdown
Collaborator

@kv2019i kv2019i commented Jun 3, 2026

Add an overlay for Intel 'ptl' target that allows to build SOF with all audio pipeline code running in Zephyr user-space.

Some features are disabled in the overlay as the feature is not working in user-space configuration. This list will be adjusted as more features are made compatible with user-space.

Copilot AI review requested due to automatic review settings June 3, 2026 16:24
@kv2019i kv2019i requested review from abonislawski, jsarha and lyakh June 3, 2026 16:25
@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented Jun 3, 2026

For context, part of #10558

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a Panther Lake (ptl) Zephyr overlay intended to run SOF low-latency (LL) pipeline code in user-space, while explicitly disabling a set of currently incompatible features.

Changes:

  • Introduces a new ptl overlay enabling CONFIG_SOF_USERSPACE_LL and required userspace driver interfaces.
  • Disables cold-store execute (DRAM) and other features currently incompatible with userspace LL (telemetry perf measurements, xrun notifications, etc.).
  • Attempts to disable LLEXT/loadable modules for userspace, to avoid privilege issues.

Comment thread app/overlays/ptl/ll_userspace_overlay.conf Outdated
Comment on lines +20 to +23
# disable llext (hits privilege issues in user-space now)
CONFIG_LLEXT_STORAGE_WRITABLE=n
CONFIG_LLEXT_EXPERIMENTAL=n
CONFIG_MODULES=n
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in V2

Copy link
Copy Markdown
Collaborator

@lyakh lyakh left a comment

Choose a reason for hiding this comment

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

Thinking out loud: what's our target configuration with userspace on PTL? Currently all DP modules (of which admittedly there aren't many) on PTL are running in userspace with no overlays. To switch LL to userspace - will we have an overlay or will we integrate it into the default configuration. I suppose the latter, so this is only needed temporarily for convenient early testing and will be removed later? But then let's add a "temporary, to be removed later" comment into this file.

If however we want to keep this overlay and use it to build released binaries and CI images, then maybe split it into sections like: (1) actual functionality - enable userspace, (2) features, that we currently cannot enable but that must be enabled before we release userspace (like LLEXT, cold store-execute, mic privacy, maybe xrun notifications and boot tests), and (3) features that we will fix later (maybe) like telemetry, cold store-execute debugging, etc.

@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented Jun 4, 2026

@lyakh This is purely for development to allow other developers to try out SOF configuration with also LL pipes running in user-space.

Add an overlay for Intel 'ptl' target that allows to build
SOF with all audio pipeline code running in Zephyr user-space.

Some features are disabled in the overlay as the feature is not
working in user-space configuration. This list will be adjusted
as more features are made compatible with user-space.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i force-pushed the 202606-user-ll-overlay branch from 204f014 to 7c6e24e Compare June 4, 2026 10:22
@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented Jun 4, 2026

V2 pushed:

  • clarified the documentation and comments in the overlay file
  • address copilot review comment

@kv2019i kv2019i merged commit 34a0916 into thesofproject:main Jun 4, 2026
45 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.

3 participants