Skip to content

Conversation

Damian-Nordic
Copy link
Contributor

@Damian-Nordic Damian-Nordic commented May 14, 2025

[nrf fromtree] lib: hash: murmur3: Account for unaligned 32-bit access

The code was casting a byte array to 32-bit words without accounting for
alignment. On some platforms (e.g. Arm Cortex-M with multiple load/store
instructions) this will fault. Fix it by using the UNALIGED_GET() macro
whenever the array is passed unaligned.

[nrf fromtree] debug: coredump: support dumping stack top only

Add Kconfig option to dump only a portion of stack from the
current stack pointer to the stack end. This is enough to
let gdb reconstruct the stack trace and can significantly
reduce the dump size. This is crucial if the core dump needs
to be sent over radio.

Additionally, add another option to set the limit for the
dumped stack portion.


Also, add one random change from Zephyr to make the merge clean.

@Damian-Nordic Damian-Nordic force-pushed the ps_cherry_picks branch 2 times, most recently from fa189d9 to 5c8384b Compare May 14, 2025 09:53
vulporuza and others added 3 commits May 14, 2025 12:04
…inversion

In some cases, pixel inversion is managed by the display hardware
and software inversion is not required.

Signed-off-by: Robin-Charles Guihéneuf <[email protected]>
(cherry picked from commit b0715dd)
Add Kconfig option to dump only a portion of stack from the
current stack pointer to the stack end. This is enough to
let gdb reconstruct the stack trace and can significantly
reduce the dump size. This is crucial if the core dump needs
to be sent over radio.

Additionally, add another option to set the limit for the
dumped stack portion.

Signed-off-by: Damian Krolik <[email protected]>
(cherry picked from commit 222e0fc)
The code was casting a byte array to 32-bit words without accounting for
alignment. On some platforms (e.g. Arm Cortex-M with multiple load/store
instructions) this will fault. Fix it by using the UNALIGED_GET() macro
whenever the array is passed unaligned.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit 7c15b08)
Copy link

@Damian-Nordic Damian-Nordic requested a review from a team May 14, 2025 11:03
@rlubos rlubos merged commit 924f770 into nrfconnect:main May 14, 2025
26 checks passed
@Damian-Nordic Damian-Nordic deleted the ps_cherry_picks branch May 14, 2025 13:57
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