Skip to content

Fix(power_wakeup): disable system timer on wakeup test skip path#463

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
Singh-Shubham-qcom:fix/wakeup-u005-system-timer-disable-on-skip
Jul 7, 2026
Merged

Fix(power_wakeup): disable system timer on wakeup test skip path#463
chetan-rathore merged 1 commit into
ARM-software:mainfrom
Singh-Shubham-qcom:fix/wakeup-u005-system-timer-disable-on-skip

Conversation

@Singh-Shubham-qcom

Copy link
Copy Markdown
Contributor

u005 (B_WAK_03/B_WAK_07, Wake from System Timer Int) cleared the GIC pending bits when the wake interrupt was not received, but never disabled the memory-mapped system timer (CNTP_CTL). Since the interrupt is level-triggered, the timer kept re-asserting the line, leaving it stuck armed after the test returned. This hung subsequent tests that install their own exception/interrupt handlers.

Mirrors the disable-on-skip pattern already used by u001-u004 for their respective timer/watchdog sources.

@Singh-Shubham-qcom Singh-Shubham-qcom force-pushed the fix/wakeup-u005-system-timer-disable-on-skip branch from 62ce0a4 to f23d1e1 Compare July 3, 2026 10:51
u005 (B_WAK_03/B_WAK_07, Wake from System Timer Int) cleared the GIC
pending bits when the wake interrupt was not received, but never
disabled the memory-mapped system timer (CNTP_CTL). Since the
interrupt is level-triggered, the timer kept re-asserting the line,
leaving it stuck armed after the test returned. This can hang
subsequent tests that install their own exception/interrupt handlers.

Mirrors the disable-on-skip pattern already used by u001-u004 for
their respective timer/watchdog sources.

Signed-off-by: Shubham Singh <shubna@qti.qualcomm.com>
@Singh-Shubham-qcom Singh-Shubham-qcom force-pushed the fix/wakeup-u005-system-timer-disable-on-skip branch from f23d1e1 to 372fe6f Compare July 6, 2026 05:25

@chetan-rathore chetan-rathore left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Singh-Shubham-qcom for contribution

@chetan-rathore chetan-rathore merged commit 5608dd3 into ARM-software:main Jul 7, 2026
29 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.

2 participants