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 5B7743C0BE9; Sat, 28 Feb 2026 17:39:19 +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=1772300359; cv=none; b=X49nlmruhClDR0A3oIOW75raYqLB6IEk5yeNSH57Mq4kIGZ25XA8+YO0M3rQtBYZD2g6SFrd4sW8uM9rSBFi1vuTrXbxBSJsfOtI79p2AyeT50lM4hKgC+XQzgdxwJ4IT3Lx3jTJabP3nDo4JiO7y4cvi7Sz8ZdGyYREFU/3c6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772300359; c=relaxed/simple; bh=neWF+2LZdaQ2MOhn1PQjNr004MV0PkZmv2RD8jGWMRM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sWHnmT8CcEr/zGyhZADoi/RaBA/KUKnbiaACoZPFF6008/6BUm6k/UOgCHFnei4KVBsLFeqfx6/4BaDqsrJ8Ck4UFMWLRlO8M/qWDdvJULaj0r3tEtngWYkZtACJYnEPW49qV+Lq8W2sBRTb1o2XOIIEeExIL9ewcnThhB2wt2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E/tmur1h; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E/tmur1h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53FD3C116D0; Sat, 28 Feb 2026 17:39:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772300359; bh=neWF+2LZdaQ2MOhn1PQjNr004MV0PkZmv2RD8jGWMRM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E/tmur1hx6t4as5zsgOxUCKsihY2rQoo7uq8kYjA96hseB5+8gqSh8lrdfkW/cxHF eq6X5x74AL7xaGjSYOlWXcf0vKKxZXpu4KaMRTJS/cBejrLHEfRJg3j5e6SJDcaV2e fZHFNUKSlIttsfHZsUKqoAA3eFdX/0M+/gl/W0QgC9sSX/BGX/nzKawRtkPlIISMlI 8oHVIBcH92Ze8Sy6aQZje3KzrZOKrqfjiUYkW4arLKIeOT0r8xs6r8IGoLO8Lcofwi Cs6SKpyDYhKXwTQv5AHksxXnZYv0jbMkOiyIzYbBhJp64OSEPQTFJ1+4RIw8ioo0il miNs4WhFcURTA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Oleksandr Suvorov , Guenter Roeck , Frank Li , Wim Van Sebroeck , Sasha Levin Subject: [PATCH 6.19 393/844] watchdog: imx7ulp_wdt: handle the nowayout option Date: Sat, 28 Feb 2026 12:25:06 -0500 Message-ID: <20260228173244.1509663-394-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260228173244.1509663-1-sashal@kernel.org> References: <20260228173244.1509663-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Oleksandr Suvorov [ Upstream commit d303d37ef5cf86c8c3b2daefd2a7d7fd8ca1ec14 ] The module parameter `nowayout` indicates whether the watchdog should ever be allowed to stop, but the driver currently ignores this option. Pass the `nowayout` parameter to the watchdog core by setting the WDOG_NO_WAY_OUT flag accordingly. Signed-off-by: Oleksandr Suvorov Reviewed-by: Guenter Roeck Reviewed-by: Frank Li Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck Signed-off-by: Sasha Levin --- drivers/watchdog/imx7ulp_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/imx7ulp_wdt.c b/drivers/watchdog/imx7ulp_wdt.c index 0f13a30533574..03479110453ce 100644 --- a/drivers/watchdog/imx7ulp_wdt.c +++ b/drivers/watchdog/imx7ulp_wdt.c @@ -346,6 +346,7 @@ static int imx7ulp_wdt_probe(struct platform_device *pdev) watchdog_stop_on_reboot(wdog); watchdog_stop_on_unregister(wdog); watchdog_set_drvdata(wdog, imx7ulp_wdt); + watchdog_set_nowayout(wdog, nowayout); imx7ulp_wdt->hw = of_device_get_match_data(dev); ret = imx7ulp_wdt_init(imx7ulp_wdt, wdog->timeout * imx7ulp_wdt->hw->wdog_clock_rate); -- 2.51.0