summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorLi Qiang <liqiang01@kylinos.cn>2025-09-28 11:33:32 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2025-11-15 17:19:48 +0300
commit7aa31ee9ec92915926e74731378c009c9cc04928 (patch)
treeb7290e20b8929c9c0ba2e71fe9c8e7972d9b5bb9 /rust/helpers/platform.c
parente9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c (diff)
downloadlinux-7aa31ee9ec92915926e74731378c009c9cc04928.tar.xz
via_wdt: fix critical boot hang due to unnamed resource allocation
The VIA watchdog driver uses allocate_resource() to reserve a MMIO region for the watchdog control register. However, the allocated resource was not given a name, which causes the kernel resource tree to contain an entry marked as "<BAD>" under /proc/iomem on x86 platforms. During boot, this unnamed resource can lead to a critical hang because subsequent resource lookups and conflict checks fail to handle the invalid entry properly. Signed-off-by: Li Qiang <liqiang01@kylinos.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions