mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rosen Penev <rosenp@gmail.com>
To: linux-watchdog@vger.kernel.org
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>,
	linux-kernel@vger.kernel.org (open list)
Subject: [PATCH v2 0/2] watchdog: pika_wdt: portability and timer lifecycle fixes
Date: Tue,  2 Jun 2026 21:02:28 -0700	[thread overview]
Message-ID: <20260603040230.318998-1-rosenp@gmail.com> (raw)

Replace ppc4xx-specific MMIO accessors with portable helpers and
fix two high-severity timer bugs: a UAF on module exit (timer
fires after iounmap) and a close race that defeats the watchdog
reset on unexpected daemon termination.

v2: fix preexisting issues

Rosen Penev (2):
  watchdog: pika_wdt: fix timer leak and close race
  watchdog: pika_wdt: replace in_be32/out_be32 with
    ioread32be/iowrite32be

 drivers/watchdog/Kconfig    |  3 ++-
 drivers/watchdog/pika_wdt.c | 14 ++++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

--
2.54.0


             reply	other threads:[~2026-06-03  4:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03  4:02 Rosen Penev [this message]
2026-06-03  4:02 ` [PATCH v2 1/2] watchdog: pika_wdt: fix timer leak and close race Rosen Penev
2026-06-03  4:02 ` [PATCH v2 2/2] watchdog: pika_wdt: replace in_be32/out_be32 with ioread32be/iowrite32be Rosen Penev

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=20260603040230.318998-1-rosenp@gmail.com \
    --to=rosenp@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=wim@linux-watchdog.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 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®