FAILED: patch "[PATCH] watchdog: rzv2h: Drop runtime PM handling from WDTDCR init" failed to apply to 6.18-stable tree
Subsystems (2)
[email protected]
maintainerThe patch below does not apply to the 6.18-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.18.y
git checkout FETCH_HEAD
git cherry-pick -x f00afd5d8d5dc03994cb67246543d5c70571ebbe
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026112542-lushness-factor-b18f@gregkh' --subject-prefix 'PATCH 6.18.y' 'HEAD^..'
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From f00afd5d8d5dc03994cb67246543d5c70571ebbe Mon Sep 17 00:00:00 2001
From: Lad Prabhakar <[email protected]>
Date: Thu, 1 Oct 2026 17:51:58 +0100
Subject: [PATCH] watchdog: rzv2h: Drop runtime PM handling from WDTDCR init
WDTDCR is located in the CPG region, outside the watchdog module, and is accessible regardless of the watchdog's clocks and reset state.
Drop the unnecessary runtime PM handling from WDTDCR initialization and access the register directly.
drivers/watchdog/rzv2h_wdt.c +0 -8
@@ -257,20 +257,12 @@ static const struct watchdog_ops rzv2h_wdt_ops = {static int rzt2h_wdt_wdtdcr_init (struct platform_device *pdev,struct rzv2h_wdt_priv *priv) { -int ret; - priv->wdtdcr =devm_platform_ioremap_resource (pdev,1 );if (IS_ERR (priv->wdtdcr))return PTR_ERR (priv->wdtdcr); - ret =pm_runtime_resume_and_get (&pdev->dev); -if (ret) -return ret; -rzt2h_wdt_wdtdcr_count_stop (priv); -pm_runtime_put_sync (&pdev->dev); -return 0 ; }
Sasha Levin
maintainerPATCH 1/1 watchdog: rzv2h: Drop runtime PM handling from WDTDCR init
From: Lad Prabhakar <[email protected]>
[ Upstream commit f00afd5d8d5dc03994cb67246543d5c70571ebbe ]
WDTDCR is located in the CPG region, outside the watchdog module, and is accessible regardless of the watchdog's clocks and reset state.
Drop the unnecessary runtime PM handling from WDTDCR initialization and access the register directly.
---
Depends on <[email protected]>
drivers/watchdog/rzv2h_wdt.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/watchdog/rzv2h_wdt.c +0 -8
@@ -256,20 +256,12 @@ static const struct watchdog_ops rzv2h_wdt_ops = {static int rzt2h_wdt_wdtdcr_init (struct platform_device *pdev,struct rzv2h_wdt_priv *priv) { -int ret; - priv->wdtdcr =devm_platform_ioremap_resource (pdev,1 );if (IS_ERR (priv->wdtdcr))return PTR_ERR (priv->wdtdcr); - ret =pm_runtime_resume_and_get (&pdev->dev); -if (ret) -return ret; -rzt2h_wdt_wdtdcr_count_stop (priv); -pm_runtime_put_sync (&pdev->dev); -return 0 ; }
Signature · 1 line
2.53.0