mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] watchdog: report all watchdog_ident information via sysfs
@ 2022-12-19 21:30 Thomas Weißschuh
  2022-12-19 21:30 ` [PATCH v2 1/2] watchdog: report fw_version in sysfs Thomas Weißschuh
  2022-12-19 21:30 ` [PATCH v2 2/2] watchdog: report options " Thomas Weißschuh
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Weißschuh @ 2022-12-19 21:30 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck
  Cc: linux-kernel, linux-watchdog, Thomas Weißschuh, Wim Van Sebroeck

This synchronizes the information reported by ioctl and sysfs.
The mismatch is confusing because "wdctl" from util-linux uses the ioctl
when used with root privileges and sysfs without.

Userspace implementation: https://github.com/util-linux/util-linux/pull/1927

To: Wim Van Sebroeck <wim@linux-watchdog.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-kernel@vger.kernel.org
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---

Changes in v2:
- Report options in addition to firmware_version
- Add documentation
- Rename firmware_version to fw_version to avoid conflicts
- Link to v1: https://lore.kernel.org/r/20221214-nsfs-ioctl-compat-v1-0-b169796000b2@weissschuh.net

---
Thomas Weißschuh (2):
      watchdog: report fw_version in sysfs
      watchdog: report options in sysfs

 Documentation/ABI/testing/sysfs-class-watchdog | 13 +++++++++++++
 drivers/watchdog/watchdog_dev.c                | 20 ++++++++++++++++++++
 2 files changed, 33 insertions(+)
---
base-commit: 6feb57c2fd7c787aecf2846a535248899e7b70fa
change-id: 20221216-watchdog-sysfs-b2ce9f8f449b

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-31 17:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-19 21:30 [PATCH v2 0/2] watchdog: report all watchdog_ident information via sysfs Thomas Weißschuh
2022-12-19 21:30 ` [PATCH v2 1/2] watchdog: report fw_version in sysfs Thomas Weißschuh
2023-01-31 17:43   ` Guenter Roeck
2022-12-19 21:30 ` [PATCH v2 2/2] watchdog: report options " Thomas Weißschuh

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®