Skip to content

ARM: dts: watchdog param creates early-watchdog #6961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Jul 16, 2025

The firmware change correcting the implementation of dtoverlay_is_enabled had the unintended consequence of causing the firmware to enable the watchdog even though the user had not explicitly requested it. This is harmless on Linux because the watchdog driver takes over and disarms it, but on other operating systems this can lead to a reboot.

An upcoming change to the firmware will avoid this problem by also requiring the presence of a new property, "early-watchdog". It's also the case that disabling the watchdog driver in Device Tree also disables important power management functionality. Therefore, change the dtparam=watchdog implementation to only add the new property (or not), leaving the container node enabled.

See: raspberrypi/firmware#1980

The firmware change correcting the implementation of
dtoverlay_is_enabled had the unintended consequence of causing the
firmware to enable the watchdog even though the user had not explicitly
requested it. This is harmless on Linux because the watchdog driver
takes over and disarms it, but on other operating systems this can lead
to a reboot.

An upcoming change to the firmware will avoid this problem by also
requiring the presence of a new property, "early-watchdog". It's also
the case that disabling the watchdog driver in Device Tree also disables
important power management functionality. Therefore, change the
dtparam=watchdog implementation to only add the new property (or not),
leaving the container node enabled.

See: raspberrypi/firmware#1980

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell pelwell merged commit 9c09b75 into raspberrypi:rpi-6.12.y Jul 16, 2025
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jul 17, 2025
kernel: ARM: dts: watchdog param creates early-watchdog
See: raspberrypi/linux#6961

kernel: Additional YUV420 10bit fmts
See: raspberrypi/linux#6959

kernel: Update panel-waveshare-dsi-v2 driver
See: raspberrypi/linux#6957
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jul 17, 2025
kernel: ARM: dts: watchdog param creates early-watchdog
See: raspberrypi/linux#6961

kernel: Additional YUV420 10bit fmts
See: raspberrypi/linux#6959

kernel: Update panel-waveshare-dsi-v2 driver
See: raspberrypi/linux#6957
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