All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] watchdog fixes for v7.4-rc4
Date: Fri, 20 Nov 2026 13:05:27 -0800	[thread overview]
Message-ID: <20261120210527.799889-1-linux@roeck-us.net> (raw)

Hi Linus,

Please pull watchdog fixes for Linux v7.4-rc4 from signed tag:

    git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git watchdog-for-v7.4-rc4

Thanks,
Guenter
------

The following changes since commit aebb7274476403040d582c61478df8f4a7bf9cd3:

  Linux 7.4-rc3 (2026-11-15 14:30:11 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git tags/watchdog-for-v7.4-rc4

for you to fetch changes up to d8cda274400b52c5bb542158ae9f220f72f059f0:

  watchdog: core: Update last_keepalive in watchdog_start() (2026-11-16 13:26:12 -0800)

----------------------------------------------------------------
watchdog fixes for v7.4-rc4

* Core registration and reference counting: clear dangling wd_data
  pointers and stop timers/workers on registration failure, release
  unclaimed running-watchdog references, avoid unbalanced module_put()
  in watchdog_open(), and restore WDOG_HW_RUNNING if stop() fails.

* Core locking and keepalive state: add missing wd_data and old_wd_data
  locking in open, unregister, and last_hw_keepalive paths, and update
  WDOG_ACTIVE and last_keepalive before pinging a running watchdog in
  watchdog_start().

* Core suspend/resume: prevent in-flight ping work from re-arming the
  keepalive timer and stop the software pretimeout hrtimer while
  suspended to avoid spurious pretimeout events.

* stm32_iwdg: set drvdata before requesting the pretimeout IRQ to avoid
  a NULL dereference, serialize EWCR register updates with a spinlock,
  and use devm_pm_set_wake_irq() to fix wake_irq leaks.

* npcm: keep the clock prepared from probe so the atomic restart
  handler only calls clk_enable() instead of sleeping during reboot.

----------------------------------------------------------------
Antonio Borneo (3):
      watchdog: stm32_iwdg: set driver data before requesting interrupt
      watchdog: stm32_iwdg: serialize accesses to EWCR register
      watchdog: stm32_iwdg: use managed variant of dev_pm_set_wake_irq()

Guenter Roeck (8):
      watchdog: core: Clear wd_data pointer on errors
      watchdog: core: Add missing locks
      watchdog: core: Prevent ping worker from re-arming timer on suspend
      watchdog: core: Stop pretimeout hrtimer on suspend
      watchdog: core: Restore WDOG_HW_RUNNING if stopping watchdog fails
      watchdog: core: Cancel timer if cdev_device_add() fails
      watchdog: core: Fix unbalanced module_put() in watchdog_open()
      watchdog: core: Update last_keepalive in watchdog_start()

Zhao Feng (1):
      watchdog: npcm: fix sleeping clock call in restart handler

 drivers/watchdog/npcm_wdt.c                    |  19 ++-
 drivers/watchdog/stm32_iwdg.c                  |  31 +++--
 drivers/watchdog/watchdog_core.h               |   1 +
 drivers/watchdog/watchdog_dev.c                | 154 ++++++++++++++++++-------
 drivers/watchdog/watchdog_hrtimer_pretimeout.c |   3 +-
 5 files changed, 152 insertions(+), 56 deletions(-)

                 reply	other threads:[~2026-11-20 21:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261120210527.799889-1-linux@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.