Skip to content

Subset of watchdog fixes

Alan Cox lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Fix lockingdrivers/watchdog/ar7_wdt.c+17 -120 replies
2/6it8712f_wdt: Locking and coding styledrivers/watchdog/it8712f_wdt.c+27 -500 replies
3/6Locking and coding styledrivers/watchdog/s3c2410_wdt.c+80 -680 replies
4/6wdt: Cleanup and sort out locking and inb_pdrivers/watchdog/wdt.c drivers/watchdog/wdt_pci.c+265 -2110 replies
5/6alpha: Fix breakage in wdt_pcidrivers/watchdog/wdt_pci.c+1 -00 replies
6/6sc1200: Fix locking, sems and coding styledrivers/watchdog/sc1200wdt.c+113 -920 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Subset of watchdog fixes

These have been pending since May with Wim occasionally surfacing to promise something will happen then vanishing again with nothing moved on.

The patch set is a tiny subset of the complete set of patches to clean up the locking bugs, switch to unlocked_ioctl and the like for watchdog drivers

These specific ones are the ones that
- Remove use of inb_p() on PCI bus which is unsafe with some newer boxes
- Switch from using a sempahore held across the return to user space for watchdog locking - and thus help remove more users of down_trylock.

 drivers/watchdog/ar7_wdt.c     |   29 ++--
 drivers/watchdog/it8712f_wdt.c |   77 ++++------
 drivers/watchdog/s3c2410_wdt.c |  148 +++++++++++---------
 drivers/watchdog/sc1200wdt.c   |  205 +++++++++++++++------------
 drivers/watchdog/wdt.c         |  176 ++++++++++++-----------
 drivers/watchdog/wdt_pci.c     |  301 +++++++++++++++++++++++-----------------
 6 files changed, 503 insertions(+), 433 deletions(-)
Signature · 4 lines
"The IETF already has more than enough RFCs that codify the obvious, make
stupidity illegal, support truth, justice, and the IETF way, and generally
demonstrate the author is a brilliant and valuable Contributor to The
Standards Process." -- Vernon Schryver