Skip to content

wdt: Disarm secondary watchdog on t814x#564

Merged
jannau merged 1 commit intoAsahiLinux:mainfrom
jannau:wdt_m4_secondary
May 1, 2026
Merged

wdt: Disarm secondary watchdog on t814x#564
jannau merged 1 commit intoAsahiLinux:mainfrom
jannau:wdt_m4_secondary

Conversation

@jannau
Copy link
Copy Markdown
Member

@jannau jannau commented May 1, 2026

M4 and A18 Pro and reset with iboot from macOS 26.x after 120 seconds. This is caused by secondary watchdogs living at offset 0x8000. The ADT contains for all devices since M1 4 byte sized reg entries at those offsets. This seems to be secondary watchdogs with a different MMIO layout. Setting the offset 0x8008 to 0x0 from its initial value of 0x7b seems to disable the watchdog.
This watchdog doesn't seem to have a programmable count register and uses the raw count at 0x2000. The alarm value might reside at 0x8018. The value there is close to 120 seconds with a clock 2.4 MHz.

Discovered-by: @MiyakoYakota

@jannau jannau requested a review from svenpeter42 as a code owner May 1, 2026 10:03
M4 and A18 Pro and reset with iboot from macOS 26.x after 120 seconds.
This is caused by secondary watchdogs living at offset 0x8000. The ADT
contains for all devices since M1 4 byte sized reg entries at those
offsets. This seems to be secondary watchdogs with a different MMIO
layout. Setting the offset 0x8008 to 0x0 from its initial value of 0x7b
seems to disable the watchdog.
This watchdog doesn't seem to have a programmable count register and
uses the raw count at 0x2000. The alarm value might reside at 0x8018.
The value there is close to 120 seconds with a clock 2.4 MHz.

Discovered-by: @MiyakoYakota
Signed-off-by: Janne Grunau <j@jannau.net>
@jannau jannau force-pushed the wdt_m4_secondary branch from 46bcf07 to 63d2398 Compare May 1, 2026 15:31
@jannau jannau merged commit 0e88df7 into AsahiLinux:main May 1, 2026
7 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