Backports of upstream bug fixes#1
Merged
asmellby merged 3 commits intoSiliconLabsSoftware:silabs/v2025.12from Nov 26, 2025
Merged
Backports of upstream bug fixes#1asmellby merged 3 commits intoSiliconLabsSoftware:silabs/v2025.12from
asmellby merged 3 commits intoSiliconLabsSoftware:silabs/v2025.12from
Conversation
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 <martin.hoff@silabs.com> (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 <martin.hoff@silabs.com> (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 <aksel.mellbye@silabs.com> (cherry picked from commit ad867a1)
jerome-pouiller
approved these changes
Nov 26, 2025
jhedberg
approved these changes
Nov 26, 2025
ba580fa
into
SiliconLabsSoftware:silabs/v2025.12
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick several bugfixes from upstream.