Re: [RFC][PATCH] watchdog: rti-wdt: Provide set_timeout handler to make existing userspace happy

From: Jan Kiszka
Date: Mon Apr 22 2024 - 01:36:11 EST


On 21.04.24 10:49, Francesco Dolcini wrote:
> Hello Jan,
>
> On Mon, Sep 13, 2021 at 01:41:43PM +0200, Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>>
>> Prominent userspace - systemd - cannot handle watchdogs without
>> WDIOF_SETTIMEOUT, even if it was configured to the same time as the
>> driver selected or was used by firmware to start the watchdog. To avoid
>> failing in this case, implement a handler that only fails if a deviating
>> set_timeout is requested.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>
> Are you aware of this patch https://lore.kernel.org/all/20240417205700.3947408-1-jm@xxxxxx/ ?
>

Thanks for the heads-up, we will surely try to test things on our setups
as well. But commenting on this dead and not directly related thread may
have caused some confusion...

Jan

--
Siemens AG, Technology
Linux Expert Center