From nobody Sun Feb 8 06:54:29 2026 Received: from fra-out-012.esa.eu-central-1.outbound.mail-perimeter.amazon.com (fra-out-012.esa.eu-central-1.outbound.mail-perimeter.amazon.com [52.57.120.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 220D333FE34; Wed, 7 Jan 2026 13:27:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.57.120.243 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767792441; cv=none; b=Z1XKRzs9qxZKBI00e5aacVGFMIbtrzCLeTZeDhbxfeDdw7BZwNtQFv9LV8FHwk/DCi+4bEbnV3DPqaN+f6uohcg0H2qhbIwvVospj9INEg6cFvsWmDrn7hAXYxx/jhTbJ1XbBV8oVic3erSm61ydGT8Ec8BtUd7svYGnADi8W5A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767792441; c=relaxed/simple; bh=CMePqU7fDA/wHXd5/nycVWAvieQKAaHLSa+FSiuP0+0=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=qTgj5gENL8vlP+7xCr0d3upO/kUrXR6G2pZ5KtPho+XiGtXqp2r2LbdvjVG/fjehtjqvH9cABErqNLRBJF7GvL82/mpJFvUiGQ8LywA+507BDYKSicskWa4tiudCYHSwdS+ChZfLDAhyCVGBJemUrQb1VWf3wFfpVKTB3EhQ6v8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.es; spf=pass smtp.mailfrom=amazon.es; dkim=pass (2048-bit key) header.d=amazon.es header.i=@amazon.es header.b=s3WTaWwZ; arc=none smtp.client-ip=52.57.120.243 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.es Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.es Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amazon.es header.i=@amazon.es header.b="s3WTaWwZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.es; i=@amazon.es; q=dns/txt; s=amazoncorp2; t=1767792439; x=1799328439; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=yIJepOPX3arqb5MyazZ+94RAcXRQ7bSmHnzahqj+Zso=; b=s3WTaWwZ/VkPvkT8U2YcwGAsQCUFaZON5tEUkPoPekbuDd3ZWdgxZM2e mCPHkJV++hfCYSfo6ByDO5xULbjsU5eu3j4dNZqe+WCSxttuozeYU6Dau LCElTnhDDNTECHT/+pl2uaEeBnBTKn2kFvsAGjgz6TwJfcfqKH7d251zl WyOmj0OraMIhMex9HXTLV830FC6u2SKuHaT+WhAKfVoMbRY56NThPdeG+ CNdoASYGv2gK0w8aM/G43ilgGC57DC/H1/5clG8DIqsX1NmRXj5osydPq 1YTQRUszgbb1GZ3La89kiCybj0X61sS0pthn/hy4jS7S+pSygMwedkc9a Q==; X-CSE-ConnectionGUID: xOpZit2GTu+Kq2Ek5lFvJA== X-CSE-MsgGUID: DXdAOuVoQ0mEwNsgDrfkfQ== X-IronPort-AV: E=Sophos;i="6.21,208,1763424000"; d="scan'208";a="7474660" Received: from ip-10-6-3-216.eu-central-1.compute.internal (HELO smtpout.naws.eu-central-1.prod.farcaster.email.amazon.dev) ([10.6.3.216]) by internal-fra-out-012.esa.eu-central-1.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2026 13:25:51 +0000 Received: from EX19MTAEUA001.ant.amazon.com [54.240.197.233:25407] by smtpin.naws.eu-central-1.prod.farcaster.email.amazon.dev [10.0.44.14:2525] with esmtp (Farcaster) id e68d9584-8813-4339-872d-da1bc2eb117d; Wed, 7 Jan 2026 13:25:50 +0000 (UTC) X-Farcaster-Flow-ID: e68d9584-8813-4339-872d-da1bc2eb117d Received: from EX19D012EUA001.ant.amazon.com (10.252.50.122) by EX19MTAEUA001.ant.amazon.com (10.252.50.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35; Wed, 7 Jan 2026 13:25:50 +0000 Received: from EX19D012EUA001.ant.amazon.com (10.252.50.122) by EX19D012EUA001.ant.amazon.com (10.252.50.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35; Wed, 7 Jan 2026 13:25:50 +0000 Received: from EX19D012EUA001.ant.amazon.com ([fe80::b7ea:84f7:2c4b:2719]) by EX19D012EUA001.ant.amazon.com ([fe80::b7ea:84f7:2c4b:2719%3]) with mapi id 15.02.2562.035; Wed, 7 Jan 2026 13:25:50 +0000 From: "Chalios, Babis" To: "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "richardcochran@gmail.com" , "dwmw2@infradead.org" , "andrew+netdev@lunn.ch" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" CC: "devicetree@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Chalios, Babis" , "Graf (AWS), Alexander" , "mzxreary@0pointer.de" , "Cali, Marco" , "Woodhouse, David" , "Krzysztof Kozlowski" Subject: [PATCH v5 3/7] dt-bindings: ptp: Add amazon,vmclock Thread-Topic: [PATCH v5 3/7] dt-bindings: ptp: Add amazon,vmclock Thread-Index: AQHcf9kjlf9LyNdHpUqK8CP9OeMyQQ== Date: Wed, 7 Jan 2026 13:25:50 +0000 Message-ID: <20260107132514.437-4-bchalios@amazon.es> References: <20260107132514.437-1-bchalios@amazon.es> In-Reply-To: <20260107132514.437-1-bchalios@amazon.es> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: David Woodhouse The vmclock device provides a PTP clock source and precise timekeeping across live migration and snapshot/restore operations. The binding has a required memory region containing the vmclock_abi structure and an optional interrupt for clock disruption notifications. The full spec is at https://uapi-group.org/specifications/specs/vmclock/ Signed-off-by: David Woodhouse Signed-off-by: Babis Chalios Reviewed-by: Krzysztof Kozlowski --- .../bindings/ptp/amazon,vmclock.yaml | 46 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/ptp/amazon,vmclock.ya= ml diff --git a/Documentation/devicetree/bindings/ptp/amazon,vmclock.yaml b/Do= cumentation/devicetree/bindings/ptp/amazon,vmclock.yaml new file mode 100644 index 000000000000..357790df876f --- /dev/null +++ b/Documentation/devicetree/bindings/ptp/amazon,vmclock.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ptp/amazon,vmclock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Virtual Machine Clock + +maintainers: + - David Woodhouse + +description: + The vmclock device provides a precise clock source and allows for + accurate timekeeping across live migration and snapshot/restore + operations. The full specification of the shared data structure is + available at https://uapi-group.org/specifications/specs/vmclock/ + +properties: + compatible: + const: amazon,vmclock + + reg: + description: + Specifies the shared memory region containing the vmclock_abi struct= ure. + maxItems: 1 + + interrupts: + description: + Interrupt used to notify when the contents of the vmclock_abi struct= ure + have been updated. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + ptp@80000000 { + compatible =3D "amazon,vmclock"; + reg =3D <0x80000000 0x1000>; + interrupts =3D ; + }; diff --git a/MAINTAINERS b/MAINTAINERS index e8f06145fb54..171813ea76a3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20728,6 +20728,7 @@ PTP VMCLOCK SUPPORT M: David Woodhouse L: netdev@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/ptp/amazon,vmclock.yaml F: drivers/ptp/ptp_vmclock.c F: include/uapi/linux/vmclock-abi.h =20 --=20 2.34.1