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]
Date:   Mon, 20 Jul 2020 17:29:22 -0700
From:   Richard Cochran <richardcochran@...il.com>
To:     Vladimir Oltean <olteanv@...il.com>
Cc:     kuba@...nel.org, davem@...emloft.net, netdev@...r.kernel.org,
        jacob.e.keller@...el.com, yangbo.lu@....com,
        xiaoliang.yang_1@....com, po.liu@....com,
        UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net-next 2/2] testptp: add new options for perout phase
 and pulse width

On Mon, Jul 20, 2020 at 08:55:59PM +0300, Vladimir Oltean wrote:
> Extend the example program for PTP ancillary functionality with the
> ability to configure not only the periodic output's period (frequency),
> but also the phase and duty cycle (pulse width) which were newly
> introduced.
> 
> The ioctl level also needs to be updated to the new PTP_PEROUT_REQUEST2,
> since the original PTP_PEROUT_REQUEST doesn't support this
> functionality. For an in-tree testing program, not having explicit
> backwards compatibility is fine, as it should always be tested with the
> current kernel headers and sources.
> 
> Tested with an oscilloscope on the felix switch PHC:
> 
> echo '2 0' > /sys/class/ptp/ptp1/pins/switch_1588_dat0
> ./testptp -d /dev/ptp1 -p 1000000000 -w 100000000 -H 1000 -i 0
> 
> Signed-off-by: Vladimir Oltean <olteanv@...il.com>

Thanks for following up with this!

Acked-by: Richard Cochran <richardcochran@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ