git: b3249ed3a6ed - main - powerpc/booke: Save watchdog context to "critical" save area
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 22:07:06 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=b3249ed3a6edb993b9acea6358c103d591afb08b
commit b3249ed3a6edb993b9acea6358c103d591afb08b
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2026-06-21 21:58:44 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2026-06-21 22:00:34 +0000
powerpc/booke: Save watchdog context to "critical" save area
Watchdog interrupt is a "critical" interrupt, so save the correct
registers (CSSRn, into critical save area).
---
sys/powerpc/booke/trap_subr.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/powerpc/booke/trap_subr.S b/sys/powerpc/booke/trap_subr.S
index cb4d99e6fffb..4bfd2118fb8f 100644
--- a/sys/powerpc/booke/trap_subr.S
+++ b/sys/powerpc/booke/trap_subr.S
@@ -613,8 +613,8 @@ INTERRUPT(int_fixed_interval_timer)
* Watchdog interrupt
****************************************************************************/
INTERRUPT(int_watchdog)
- STANDARD_PROLOG(SPR_SPRG1, PC_TEMPSAVE, SPR_SRR0, SPR_SRR1)
- FRAME_SETUP(SPR_SPRG1, PC_TEMPSAVE, EXC_WDOG)
+ STANDARD_CRIT_PROLOG(SPR_SPRG1, PC_BOOKE_CRITSAVE, SPR_CSRR0, SPR_CSRR1)
+ FRAME_SETUP(SPR_SPRG1, PC_BOOKE_CRITSAVE, EXC_WDOG)
b trap_common