mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] watchdog fixes for v7.4-rc4
@ 2026-11-20 21:05 Guenter Roeck
  0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2026-11-20 21:05 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-watchdog, linux-kernel

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(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 21:05 [GIT PULL] watchdog fixes for v7.4-rc4 Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®