mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add driver for Intel Over-Clocking Watchdog
@ 2025-03-17 10:55 Diogo Ivo
  2025-03-17 10:55 ` [PATCH v3 1/2] watchdog: Add driver for Intel OC WDT Diogo Ivo
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Diogo Ivo @ 2025-03-17 10:55 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, Wim Van Sebroeck, Guenter Roeck
  Cc: linux-kernel, linux-acpi, linux-watchdog, jan.kiszka,
	benedikt.niedermayr, Diogo Ivo

This series adds a driver for the Intel Over-Clocking Watchdog found in
the Intel Platform Controller Hub (PCH).

This watchdog is controlled via a simple single-register interface and
would otherwise be standard except for the presence of a LOCK bit that
can only be set once per power cycle, needing extra handling around it.

Due to the way these devices are described in ACPI tables with both the
generic PNP0C02 CID and a more detailed ACPI HID we also need to add
their HIDs to the list of known non-PNP devices. As there are several HIDs
for what seems to be essentially the same hardware but I don't know all
the possible HIDs this series does not include an exhaustive list of all
such HIDs, only those that I could personally test.

Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
---
Changes in v3:
 - PATCH 01:
  - Collect R-b from Guenter
 - PATCH 02:
  - Reword the commit message to clarify purpose of patch
- Link to v2: https://lore.kernel.org/r/20250312-ivo-intel_oc_wdt-v2-0-52d09738cd0b@siemens.com

Changes in v2:
- Split v1 into two patches, adding the ACPI IDs in a separate patch
- Initialize hearbeat module parameter to zero
- Clarify wording around lock handling
- Properly print resource with %pR when failing to obtain it
- Enable compile testing and add dependency on HAS_IOPORT
- Drop unneeded ACPI_PTR() and MODULE_ALIAS()
- Link to v1: https://lore.kernel.org/r/20250311-ivo-intel_oc_wdt-v1-1-fd470460d9f5@siemens.com

---
Diogo Ivo (2):
      watchdog: Add driver for Intel OC WDT
      ACPI: PNP: Add Intel OC Watchdog IDs to non-PNP device list

 drivers/acpi/acpi_pnp.c         |   2 +
 drivers/watchdog/Kconfig        |  11 ++
 drivers/watchdog/Makefile       |   1 +
 drivers/watchdog/intel_oc_wdt.c | 233 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 247 insertions(+)
---
base-commit: b7f94fcf55469ad3ef8a74c35b488dbfa314d1bb
change-id: 20250227-ivo-intel_oc_wdt-7a483a4d6a04

Best regards,
-- 
Diogo Ivo <diogo.ivo@siemens.com>


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

end of thread, other threads:[~2025-06-03 10:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-17 10:55 [PATCH v3 0/2] Add driver for Intel Over-Clocking Watchdog Diogo Ivo
2025-03-17 10:55 ` [PATCH v3 1/2] watchdog: Add driver for Intel OC WDT Diogo Ivo
2025-03-27 13:56   ` Markus Elfring
2025-04-08  8:31   ` Diogo Ivo
2025-05-08 15:12     ` Diogo Ivo
2025-03-17 10:55 ` [PATCH v3 2/2] ACPI: PNP: Add Intel OC Watchdog IDs to non-PNP device list Diogo Ivo
2025-03-25 17:18   ` Diogo Ivo
2025-03-25 18:59     ` Rafael J. Wysocki
2025-03-26  9:01       ` Diogo Ivo
2025-03-26 14:02         ` Guenter Roeck
2025-03-27 19:36           ` Rafael J. Wysocki
2025-06-01 20:15 ` [PATCH v3 0/2] Add driver for Intel Over-Clocking Watchdog Andy Shevchenko
2025-06-03  9:43   ` Diogo Ivo

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®