Skip to contentSkip to conversation

watchdog: intel_oc_wdt: Add INTC109C ACPI ID

PATCH Applied Vítor Hugo Silva 2 participants 5 messages Nov 15 – Nov 16 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: intel_oc_wdt: Add INTC109C ACPI ID

The Lenovo laptops with an Intel Core 7 240H (Raptor Lake) exposes its OC watchdog as 'INTC109C', leaving the device unbound, because this ID is not present from the driver's ACPI intel_oc_wdt_match table.

The firmware selects INTC109C or the already supported INTC1099 from the same CWDT object's _HID method, depending on the processor signature. Both paths share a four-byte I/O resource at PMBS + 0x54.

Add INTC109C to the match table to use the existing implementation.

I have tested as a module on Fedora kernel 7.3.3-300.fc45.x86_64. I did verify device binding, timeout configuration, start, keepalive, explicit stop and magic close. Register reads confirmed the enable and timeout fields. Expiry-triggered reset was not tested.

AI assistance was used for development of the test harness and 'peer-review' the patch.

---
 drivers/watchdog/intel_oc_wdt.c | 1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/intel_oc_wdt.c +1 -0
index 0b012aeb1..a78fe1e5f 100644
@@ -215,6 +215,7 @@ static int intel_oc_wdt_probe(struct platform_device *pdev)
 static const struct acpi_device_id intel_oc_wdt_match[] = {
 	{ "INT3F0D" },
 	{ "INTC1099" },
+	{ "INTC109C" },
 	{ },
 };
 MODULE_DEVICE_TABLE(acpi, intel_oc_wdt_match);

base-commit: 97d73c8251226cf27cc6656b4c542869bb8c69fa

Signature · 1 line
2.56.1
maintainer
#1 lore raw
Quoted 10 lines · Vítor Hugo Silva

The Lenovo laptops with an Intel Core 7 240H (Raptor Lake) exposes its OC watchdog as 'INTC109C', leaving the device unbound, because this ID is not present from the driver's ACPI intel_oc_wdt_match table.

The firmware selects INTC109C or the already supported INTC1099 from the same CWDT object's _HID method, depending on the processor signature. Both paths share a four-byte I/O resource at PMBS + 0x54.

Quoted 8 lines

Add INTC109C to the match table to use the existing implementation.

I have tested as a module on Fedora kernel 7.3.3-300.fc45.x86_64. I did verify device binding, timeout configuration, start, keepalive, explicit stop and magic close. Register reads confirmed the enable and timeout fields. Expiry-triggered reset was not tested.

Why not ? That means you don't know if the code actually works.

Thanks,
Guenter

Quoted 22 lines

AI assistance was used for development of the test harness and 'peer-review' the patch.

---
  drivers/watchdog/intel_oc_wdt.c | 1 +
  1 file changed, 1 insertion(+)
drivers/watchdog/intel_oc_wdt.c +1 -0
index 0b012aeb1..a78fe1e5f 100644
@@ -215,6 +215,7 @@ static int intel_oc_wdt_probe(struct platform_device *pdev)
  static const struct acpi_device_id intel_oc_wdt_match[] = {
  	{ "INT3F0D" },
  	{ "INTC1099" },
+	{ "INTC109C" },
  	{ },
  };
  MODULE_DEVICE_TABLE(acpi, intel_oc_wdt_match);

base-commit: 97d73c8251226cf27cc6656b4c542869bb8c69fa

#2 lore raw

You are absolutely right. It made no sense to not test it. I ran an expiry test and it worked:

I have set up a 60 seconds timeout, kept the watchdog device open without sending keepalives.
It forced the reset right after it timed out.

Thanks for the quick reply,
Vítor

Guenter Roeck <[email protected]> escreveu (domingo, 15/11/2026 à(s) 21:29):

Quoted 49 lines · Vítor Hugo Silva
Quoted 10 lines

The Lenovo laptops with an Intel Core 7 240H (Raptor Lake) exposes its OC watchdog as 'INTC109C', leaving the device unbound, because this ID is not present from the driver's ACPI intel_oc_wdt_match table.

The firmware selects INTC109C or the already supported INTC1099 from the same CWDT object's _HID method, depending on the processor signature. Both paths share a four-byte I/O resource at PMBS + 0x54.

Quoted 8 lines

Add INTC109C to the match table to use the existing implementation.

I have tested as a module on Fedora kernel 7.3.3-300.fc45.x86_64. I did verify device binding, timeout configuration, start, keepalive, explicit stop and magic close. Register reads confirmed the enable and timeout fields. Expiry-triggered reset was not tested.

Why not ? That means you don't know if the code actually works.

Thanks,
Guenter

Quoted 22 lines

AI assistance was used for development of the test harness and 'peer-review' the patch.

---
  drivers/watchdog/intel_oc_wdt.c | 1 +
  1 file changed, 1 insertion(+)
drivers/watchdog/intel_oc_wdt.c +1 -0
index 0b012aeb1..a78fe1e5f 100644
@@ -215,6 +215,7 @@ static int intel_oc_wdt_probe(struct platform_device *pdev)
  static const struct acpi_device_id intel_oc_wdt_match[] = {
      { "INT3F0D" },
      { "INTC1099" },
+     { "INTC109C" },
      { },
  };
  MODULE_DEVICE_TABLE(acpi, intel_oc_wdt_match);

base-commit: 97d73c8251226cf27cc6656b4c542869bb8c69fa

maintainer Applied
#3 lore raw
In reply to Vítor Hugo Silva
Quoted 18 lines · Vítor Hugo Silva

The Lenovo laptops with an Intel Core 7 240H (Raptor Lake) exposes its OC watchdog as 'INTC109C', leaving the device unbound, because this ID is not present from the driver's ACPI intel_oc_wdt_match table.

The firmware selects INTC109C or the already supported INTC1099 from the same CWDT object's _HID method, depending on the processor signature. Both paths share a four-byte I/O resource at PMBS + 0x54.

Add INTC109C to the match table to use the existing implementation.

I have tested as a module on Fedora kernel 7.3.3-300.fc45.x86_64. I did verify device binding, timeout configuration, start, keepalive, explicit stop and magic close. Register reads confirmed the enable and timeout fields. Expiry-triggered reset was not tested.

Quoted 4 lines

AI assistance was used for development of the test harness and 'peer-review' the patch.

Applied.

Thanks,
Guenter

Quoted 19 lines
---
 drivers/watchdog/intel_oc_wdt.c | 1 +
 1 file changed, 1 insertion(+)

base-commit: 97d73c8251226cf27cc6656b4c542869bb8c69fa

drivers/watchdog/intel_oc_wdt.c +1 -0
index 0b012aeb1..a78fe1e5f 100644
@@ -215,6 +215,7 @@ static int intel_oc_wdt_probe(struct platform_device *pdev)
 static const struct acpi_device_id intel_oc_wdt_match[] = {
 	{ "INT3F0D" },
 	{ "INTC1099" },
+	{ "INTC109C" },
 	{ },
 };
 MODULE_DEVICE_TABLE(acpi, intel_oc_wdt_match);
#4 lore raw

Thank you!

Vítor

Guenter Roeck <[email protected]> escreveu (domingo, 15/11/2026 à(s) 22:39):

Quoted 49 lines · Vítor Hugo Silva
Quoted 18 lines

The Lenovo laptops with an Intel Core 7 240H (Raptor Lake) exposes its OC watchdog as 'INTC109C', leaving the device unbound, because this ID is not present from the driver's ACPI intel_oc_wdt_match table.

The firmware selects INTC109C or the already supported INTC1099 from the same CWDT object's _HID method, depending on the processor signature. Both paths share a four-byte I/O resource at PMBS + 0x54.

Add INTC109C to the match table to use the existing implementation.

I have tested as a module on Fedora kernel 7.3.3-300.fc45.x86_64. I did verify device binding, timeout configuration, start, keepalive, explicit stop and magic close. Register reads confirmed the enable and timeout fields. Expiry-triggered reset was not tested.

Quoted 4 lines

AI assistance was used for development of the test harness and 'peer-review' the patch.

Applied.

Thanks,
Guenter

Quoted 19 lines
---
 drivers/watchdog/intel_oc_wdt.c | 1 +
 1 file changed, 1 insertion(+)

base-commit: 97d73c8251226cf27cc6656b4c542869bb8c69fa

drivers/watchdog/intel_oc_wdt.c +1 -0
index 0b012aeb1..a78fe1e5f 100644
@@ -215,6 +215,7 @@ static int intel_oc_wdt_probe(struct platform_device *pdev)
 static const struct acpi_device_id intel_oc_wdt_match[] = {
      { "INT3F0D" },
      { "INTC1099" },
+     { "INTC109C" },
      { },
 };
 MODULE_DEVICE_TABLE(acpi, intel_oc_wdt_match);