Subject: Re: [PATCH] net: fec: ptp: fix convergence issue to support LinuxPTP stack

From: Richard Cochran <[email-masked]>
Date: Tue, 14 Oct 2014 20:49:52 +0200

On Tue, Oct 14, 2014 at 06:43:51PM +0000, [email-masked] wrote:
> Only MX6 SX. Only MX6 SX added FEC_QUIRK_BUG_CAPTURE.

But what about this comment:

+/* ENET Block Guide/ Chapter for the iMX6SLX (PELE) address one issue:
+ * Incorrect behavior for ENET_ATCR[Capture and Restart Bits]. These bits will
+ * always read a value zero. When these bits are set to 1'b1, these should hold
+ * value 1'b1 until the counter value is capture in the register clock domain.
+ */

It sounds like the bits are "sticky" until the counter value has been
latched. Therefore you need to check the bits before reading the
counter, but the code does not do this for the case of !SX.

Thanks,
Richard