Skip to content

[backport imx-stable-v2.15.6] app: boards: imx95: switch to cortex-m systick as system timer#10768

Closed
LaurentiuM1234 wants to merge 1 commit into
thesofproject:imx-stable-v2.15.6from
LaurentiuM1234:fix/backport-stable-v2.15.6
Closed

[backport imx-stable-v2.15.6] app: boards: imx95: switch to cortex-m systick as system timer#10768
LaurentiuM1234 wants to merge 1 commit into
thesofproject:imx-stable-v2.15.6from
LaurentiuM1234:fix/backport-stable-v2.15.6

Conversation

@LaurentiuM1234
Copy link
Copy Markdown
Contributor

Zephyr commit c4efe9821c6b ("dts: soc: arm: nxp: imx95: designate lptmr1 as system timer via chosen") switched the system timer to LPTMR1 from Cortex-M systick.

This change was never carefully tested in the context of SOF and it ended up causing some issues, one of which being that after a couple of suspend and resume cycles, the timer interrupt never seems to get triggered again, causing the firmware to crash at some point.

Cortex-M's systick has done the job well so far so switch back to it for now.

(cherry picked from commit 9f606f6)

Zephyr commit c4efe9821c6b ("dts: soc: arm: nxp: imx95: designate lptmr1
as system timer via chosen") switched the system timer to LPTMR1 from
Cortex-M systick.

This change was never carefully tested in the context of SOF and it ended
up causing some issues, one of which being that after a couple of suspend
and resume cycles, the timer interrupt never seems to get triggered again,
causing the firmware to crash at some point.

Cortex-M's systick has done the job well so far so switch back to it for
now.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
(cherry picked from commit 9f606f6)
@LaurentiuM1234 LaurentiuM1234 changed the title app: boards: imx95: switch to cortex-m systick as system timer [backport imx-stable-v2.15.6] app: boards: imx95: switch to cortex-m systick as system timer May 13, 2026
@LaurentiuM1234 LaurentiuM1234 marked this pull request as ready for review May 13, 2026 10:43
@LaurentiuM1234
Copy link
Copy Markdown
Contributor Author

Backported, closing.

@LaurentiuM1234 LaurentiuM1234 deleted the fix/backport-stable-v2.15.6 branch May 13, 2026 11:24
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.

1 participant