From: Guenter Roeck <linux@roeck-us.net>
To: Damien Riegel <damien.riegel@savoirfairelinux.com>,
linux-watchdog@vger.kernel.org
Cc: Wim Van Sebroeck <wim@iguana.be>,
Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
kernel@savoirfairelinux.com
Subject: Re: [PATCH 00/13] watchdog: factorize restart handler registration
Date: Tue, 3 Nov 2015 10:08:18 -0800 [thread overview]
Message-ID: <5638F812.8010802@roeck-us.net> (raw)
In-Reply-To: <1446567166-10156-1-git-send-email-damien.riegel@savoirfairelinux.com>
On 11/03/2015 08:12 AM, Damien Riegel wrote:
> Many drivers implements the exact same piece of code to register a
> restart handler. It can be nice to factorize this in the watchdog core.
>
> The first patch adds an optional restart watchdog operation. If a driver
> defines this operation, a restart handler is registered. By default, the
> restart handler priority is set to 0, but a helper function
> watchdog_set_restart_priority is provided to change it.
>
> The following patches bring this change to the current watchdog drivers
> that use watchdog_core.
>
> This change has been compile-tested on da9063, imx2, lpc18xx, imgpdc.
> It has been tested with (not mainlined yet) ts-4800's watchdog driver.
>
> Damien Riegel (13):
> watchdog: core: add restart handler support
> watchdog: bcm47xx_wdt: use core restart handler
> watchdog: da9063_wdt: use core restart handler
> watchdog: digicolor_wdt: use core restart handler
> watchdog: imgpdc_wdt: use core restart handler
> watchdog: imx2_wdt: use core restart handler
> watchdog: lpc18xx_wdt: use core restart handler
> watchdog: meson_wdt: use core restart handler
> watchdog: moxart_wdt: use core restart handler
> watchdog: mtk_wdt: use core restart handler
> watchdog: qcom-wdt: use core restart handler
> watchdog: s3c2410_wdt: use core restart handler
> watchdog: sunxi_wdt: use core restart handler
>
Damien,
"v2" in the subject line as well as a change log would have been appreciated.
You are making it (hopefully not intentionally) difficult for maintainers
to separate v1 from v2. You might want to keep in mind that maintainers are
in general quite busy and might thus be a bit annoyed about such additional
(and unnecessary) work.
Thanks,
Guenter
> Documentation/watchdog/watchdog-kernel-api.txt | 19 +++++++
> drivers/watchdog/bcm47xx_wdt.c | 21 +++-----
> drivers/watchdog/da9063_wdt.c | 23 +++------
> drivers/watchdog/digicolor_wdt.c | 18 ++-----
> drivers/watchdog/imgpdc_wdt.c | 34 +++++--------
> drivers/watchdog/imx2_wdt.c | 23 +++------
> drivers/watchdog/lpc18xx_wdt.c | 68 +++++++++++---------------
> drivers/watchdog/meson_wdt.c | 23 ++-------
> drivers/watchdog/moxart_wdt.c | 23 +++------
> drivers/watchdog/mtk_wdt.c | 22 ++-------
> drivers/watchdog/qcom-wdt.c | 63 ++++++++++--------------
> drivers/watchdog/s3c2410_wdt.c | 60 ++++++++++-------------
> drivers/watchdog/sunxi_wdt.c | 23 ++-------
> drivers/watchdog/watchdog_core.c | 48 ++++++++++++++++++
> include/linux/bcm47xx_wdt.h | 1 -
> include/linux/watchdog.h | 6 +++
> 16 files changed, 210 insertions(+), 265 deletions(-)
>
next prev parent reply other threads:[~2015-11-03 18:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-03 16:12 [PATCH 00/13] watchdog: factorize restart handler registration Damien Riegel
2015-11-03 16:12 ` [PATCH 01/13] watchdog: core: add restart handler support Damien Riegel
2015-11-03 16:12 ` [PATCH 02/13] watchdog: bcm47xx_wdt: use core restart handler Damien Riegel
2015-11-03 16:12 ` [PATCH 03/13] watchdog: da9063_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 04/13] watchdog: digicolor_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 05/13] watchdog: imgpdc_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 06/13] watchdog: imx2_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 07/13] watchdog: lpc18xx_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 08/13] watchdog: meson_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 09/13] watchdog: moxart_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 10/13] watchdog: mtk_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 11/13] watchdog: qcom-wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 12/13] watchdog: s3c2410_wdt: " Damien Riegel
2015-11-03 16:12 ` [PATCH 13/13] watchdog: sunxi_wdt: " Damien Riegel
2015-11-03 18:08 ` Guenter Roeck [this message]
2015-11-03 18:19 ` [PATCH 00/13] watchdog: factorize restart handler registration Vivien Didelot
2015-11-03 20:10 ` Damien Riegel
2015-11-03 21:10 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5638F812.8010802@roeck-us.net \
--to=linux@roeck-us.net \
--cc=damien.riegel@savoirfairelinux.com \
--cc=kernel@savoirfairelinux.com \
--cc=linux-watchdog@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.com \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox