Thread (9 messages) 9 messages, 2 authors, 2026-02-03
STALE130d REVIEWED: 1 (0M)
Revisions (2)
  1. v6 [diff vs current]
  2. v7 current

[PATCH v7 5/7] ptp: ptp_vmclock: add 'VMCLOCK' to ACPI device match

From: Takahiro Itazuri <hidden>
Date: 2026-01-30 17:37:47
Also in: linux-devicetree, lkml
Subsystem: networking drivers, ptp hardware clock support, ptp vmclock support, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Richard Cochran, David Woodhouse, Linus Torvalds

From: David Woodhouse <redacted>

As we finalised the spec, we spotted that vmgenid actually says that the
_HID is supposed to be hypervisor-specific. Although in the 13 years
since the original vmgenid doc was published, nobody seems to have cared
about using _HID to distinguish between implementations on different
hypervisors, and we only ever use the _CID.

For consistency, match the _CID of "VMCLOCK" too.

Signed-off-by: David Woodhouse <redacted>
Signed-off-by: Babis Chalios <redacted>
Tested-by: Takahiro Itazuri <redacted>
---
 drivers/ptp/ptp_vmclock.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/ptp/ptp_vmclock.c b/drivers/ptp/ptp_vmclock.c
index 619c8e5a9..2a173bd28 100644
--- a/drivers/ptp/ptp_vmclock.c
+++ b/drivers/ptp/ptp_vmclock.c
@@ -763,6 +763,7 @@ static int vmclock_probe(struct platform_device *pdev)
 
 static const struct acpi_device_id vmclock_acpi_ids[] = {
 	{ "AMZNC10C", 0 },
+	{ "VMCLOCK", 0 },
 	{}
 };
 MODULE_DEVICE_TABLE(acpi, vmclock_acpi_ids);
-- 
2.50.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help