On Mon, Aug 07, 2017 at 03:47:58PM +0000, Ian Thompson wrote:
> I first thought that application code may be stamping on some
> configuration registers, and that might be the case, but to have the
> glitch always be a second and not some random time is a bit weird.

On the contrary, the Altera HPS EMAC stores the time in two 32-bit
registers, one representing seconds and the other nanoseconds.

AFAICT, the hardware does not latch the time into the two registers on
read, and so a one second error is to be expected.

> Thoughts?

The HW is broken by design.  Your out-of-tree driver is probably also
buggy.

Sorry,
Richard


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to