lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <AM9PR04MB85057F4330081C86176805E78839A@AM9PR04MB8505.eurprd04.prod.outlook.com>
Date: Tue, 26 Aug 2025 01:50:06 +0000
From: Wei Fang <wei.fang@....com>
To: Andrew Lunn <andrew@...n.ch>
CC: "robh@...nel.org" <robh@...nel.org>, "krzk+dt@...nel.org"
	<krzk+dt@...nel.org>, "conor+dt@...nel.org" <conor+dt@...nel.org>,
	"richardcochran@...il.com" <richardcochran@...il.com>, Claudiu Manoil
	<claudiu.manoil@....com>, Vladimir Oltean <vladimir.oltean@....com>, Clark
 Wang <xiaoning.wang@....com>, "andrew+netdev@...n.ch"
	<andrew+netdev@...n.ch>, "davem@...emloft.net" <davem@...emloft.net>,
	"edumazet@...gle.com" <edumazet@...gle.com>, "kuba@...nel.org"
	<kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
	"vadim.fedorenko@...ux.dev" <vadim.fedorenko@...ux.dev>, Frank Li
	<frank.li@....com>, "shawnguo@...nel.org" <shawnguo@...nel.org>,
	"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>, "festevam@...il.com"
	<festevam@...il.com>, "F.S. Peng" <fushi.peng@....com>,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"imx@...ts.linux.dev" <imx@...ts.linux.dev>, "kernel@...gutronix.de"
	<kernel@...gutronix.de>
Subject: RE: [PATCH v5 net-next 08/15] ptp: netc: add debugfs support to loop
 back pulse signal

> On Mon, Aug 25, 2025 at 12:15:25PM +0800, Wei Fang wrote:
> > The NETC Timer supports to loop back the output pulse signal of Fiper-n
> > into Trigger-n input, so that we can leverage this feature to validate
> > some other features without external hardware support.
> 
> This seems like it should be a common feature which more PTP clocks
> will support? Did you search around and see if there are other devices
> with this?

Actually, the NETC v4 Timer is the same IP used in the QorIQ platforms,
but it is a different version, and the ptp_qoriq driver is not compatible
with NETC v4 Timer, I have stated in the patch ("ptp: netc: add NETC V4
Timer PTP driver support").

> 
> Ah:
> 
> ptp_qoriq_debugfs.c:	if (!debugfs_create_file_unsafe("fiper1-loopback",
> 0600, root,
> ptp_qoriq_debugfs.c:	if (!debugfs_create_file_unsafe("fiper2-loopback",
> 0600, root,
> 
> Rather than hiding this in debugfs where each vendor will implement it
> differently, i'm just think it might make sense to have an official
> kernel API for it.
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ