[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210828161248.GA822720@roeck-us.net>
Date: Sat, 28 Aug 2021 09:12:48 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Ahmad Fatoum <a.fatoum@...gutronix.de>
Cc: Wim Van Sebroeck <wim@...ux-watchdog.org>,
linux-watchdog@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...gutronix.de
Subject: Re: [PATCH v5 5/7] watchdog: f71808e_wdt: migrate to new kernel
watchdog API
On Mon, Aug 09, 2021 at 06:20:35PM +0200, Ahmad Fatoum wrote:
> Migrating the driver lets us drop the watchdog misc device boilerplate
> and reduces size by 285 lines. It also brings us support for new
> functionality like CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED.
>
> This incurs a slight backwards-compatibility break, because the new
> kernel watchdog API doesn't support unloading modules for drivers
> whose watchdog hardware is reported to be running.
>
> This means following scenario will be no longer supported:
> - BIOS has enabled watchdog
> - Module is loaded and unloaded without opening watchdog
> - module_exit is expected to succeed and disable watchdog HW
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@...gutronix.de>
Reviewed-by: Guenter Roeck <linux@...ck-us.net>
Powered by blists - more mailing lists