Skip to content

watchdog: wdat_wdt: map registers that fall inside ACPI NVS - #270

Open
rene wants to merge 1 commit into
lf-edge:eve-kernel-amd64-v6.12.96-genericfrom
rene:fix-acpi-watchdog-96
Open

watchdog: wdat_wdt: map registers that fall inside ACPI NVS#270
rene wants to merge 1 commit into
lf-edge:eve-kernel-amd64-v6.12.96-genericfrom
rene:fix-acpi-watchdog-96

Conversation

@rene

@rene rene commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Description

Some firmwares describe WDAT registers inside memory ranges marked as ACPI NVS in the E820 map, failing with -EBUSY during probe, leaving the hardware watchdog unserviced and triggering periodic system resets.

This issue was observed on a OnLogic Karbon 524 device (when watchdog is enabled in BIOS):

wdat_wdt wdat_wdt: error -EBUSY: can't request region for resource [mem 0x63df7a98]
wdat_wdt wdat_wdt: probe with driver wdat_wdt failed with error -16

Check whether the region falls inside ACPI NVS before requesting it and, if so, map it without reservation.

Upstream patch: https://lore.kernel.org/linux-watchdog/20260804094057.C71951F000E9@smtp.kernel.org/T/#t

Backports

For now only on this version since we don't use any ACPI watchdog on arm64. If the upstream got approved and can backport to other versions.

Some firmwares describe WDAT registers inside memory ranges marked as
ACPI NVS in the E820 map, failing with -EBUSY during probe, leaving the
hardware watchdog unserviced and triggering periodic system resets.

This issue was observed on a OnLogic Karbon 524 device (when watchdog is
enabled in BIOS):

wdat_wdt wdat_wdt: error -EBUSY: can't request region for resource [mem 0x63df7a98]
wdat_wdt wdat_wdt: probe with driver wdat_wdt failed with error -16

Check whether the region falls inside ACPI NVS before requesting it and,
if so, map it without reservation.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
@rene
rene requested review from eriknordmark and rucoder August 5, 2026 10:17
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