Skip to content

Conversation

@asmellby
Copy link

Cherry-pick several bugfixes from upstream.

Martinhoff-maker and others added 3 commits November 26, 2025 14:10
This patch fixes a compilation error when CONFIG_PM_DEVICE is enabled
without CONFIG_PM_DEVICE_RUNTIME and CONFIG_POWER_DOMAIN.

Upstream-status: available
Signed-off-by: Martin Hoff <[email protected]>
(cherry picked from commit 94ed533)
The HAL used by the SiWx91x SoC implements a mechanism to protect
atomic sections. Since this HAL also supports a zero-latency
interrupt (ZLI) mechanism, we need to ensure the same number of
bits are used for ZLI interrupts.
The interrupt priority level (2) depends on a hardcoded value in the
Simplicity SDK (CORE_ATOMIC_BASE_PRIORITY_LEVEL).
Without this fix, arch_irq_lock (which sets the BASEPRI register to
0x4 when zero-latency interrupts are not enabled) is overridden by
CORE_EnterAtomic in the HAL, which sets BASEPRI to 0xC since the HAL
does not use the BASEPRI_MAX function. IRQ might then fires since it's
register with a lowest priority in Zephyr.

Upstream-status: available
Signed-off-by: Martin Hoff <[email protected]>
(cherry picked from commit 87ab3e3)
entropy_get_entropy() is allowed to block while waiting for
entropy. Don't exit with an error if entropy is exhausted,
wait instead. Move clock enable out of the inner loop to avoid
unnecessarily calling it multiple times.

Upstream-status: available
Signed-off-by: Aksel Skauge Mellbye <[email protected]>
(cherry picked from commit ad867a1)
@asmellby asmellby requested a review from a team November 26, 2025 13:23
@asmellby asmellby merged commit ba580fa into SiliconLabsSoftware:silabs/v2025.12 Nov 26, 2025
2 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.

4 participants