Files
Li Qiang f7b6370d0f via_wdt: fix critical boot hang due to unnamed resource allocation
[ Upstream commit 7aa31ee9ec ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-08 10:14:11 +01:00
..
2024-09-27 08:18:43 -07:00
2025-08-20 18:30:41 +02:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00