Skip to content

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

Open
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202606-user-ll-overlay
Open

app: overlays: ptl: add ll_usespace_overlay.conf#10840
kv2019i wants to merge 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.

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>
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.

CONFIG_SOF_USERSPACE_LL=y

# Problem with DSP panics due to illegal instruction hit in user-space if cold
# store execution is enabled. Disable it for now until rootcause is found.
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

@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.

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