From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F07224C81; Thu, 15 Jan 2026 17:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768497965; cv=none; b=dV6kc6lScQzwHe7C6XQTQj1pOdiOVYzwI59LTF7e8QLVv2T4cW9oj2uhSOZnwMwdsiwxFVZj6d2BN1bpTYQ1GclLGyiJw/kyOYlz/Na67ZpESQMroDjFhVcQlxOxiYB71NdsUwJCkDFnkOdIFsKNkrMHtzxJRzrMCtMXxGzeBvM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768497965; c=relaxed/simple; bh=qHcHqy1vRu1IAr3htjDwgBsEe/0lpOkvUSkam3dHzA4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sdNAAgHrq5P66A+/+qjGr7QF7sdSp6dKJJ9ICEbPjt201Gfqn+k7d4rrsETyYm4BbaEHY5Ix4xXrJ2HCb94/dIznJDuUHtT3JJ1zJhMjq2aCiI83zWrRhuW5qiE5s0B4LLHM6y3A7coQsHjf09B4XSU1NSB9f+KpZbNrNvZNKRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Myop0JEk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Myop0JEk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34582C116D0; Thu, 15 Jan 2026 17:26:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768497964; bh=qHcHqy1vRu1IAr3htjDwgBsEe/0lpOkvUSkam3dHzA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Myop0JEkH6fpc3oZmmzeT3uSaJlbonfj9EhuTDeB4OUASzq0yc0k5aV2yAVy8tQu/ pkauRoPHXykcwfp1tFQKmglXNQg30goZQlX6pzRdP6GfacBxjf3xQw+KWEFhJEQFOn sFx1ALJy6xo/nmRxd7+ZEXoGconoXcvM4cE2zyWQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Li Qiang , Guenter Roeck , Wim Van Sebroeck , Sasha Levin Subject: [PATCH 5.15 265/554] via_wdt: fix critical boot hang due to unnamed resource allocation Date: Thu, 15 Jan 2026 17:45:31 +0100 Message-ID: <20260115164255.822691833@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260115164246.225995385@linuxfoundation.org> References: <20260115164246.225995385@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Li Qiang [ Upstream commit 7aa31ee9ec92915926e74731378c009c9cc04928 ] 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 "" 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 Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck Signed-off-by: Sasha Levin --- drivers/watchdog/via_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c index eeb39f96e72e..c1ed3ce153cf 100644 --- a/drivers/watchdog/via_wdt.c +++ b/drivers/watchdog/via_wdt.c @@ -165,6 +165,7 @@ static int wdt_probe(struct pci_dev *pdev, dev_err(&pdev->dev, "cannot enable PCI device\n"); return -ENODEV; } + wdt_res.name = "via_wdt"; /* * Allocate a MMIO region which contains watchdog control register -- 2.51.0