[Intel-wired-lan] [next-queue v4 04/13] ice: restart periodic outputs around time changes

Mekala, SunithaX D sunithax.d.mekala at intel.com
Fri Aug 27 21:36:24 UTC 2021


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf 
> Of Tony Nguyen
> Sent: Monday, August 23, 2021 5:02 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next-queue v4 04/13] ice: restart periodic 
> outputs around time changes
>
> From: Jacob Keller <jacob.e.keller at intel.com>
>
> Wen we enabled auxiliary input/output support for the E810 device, we forgot to add logic to restart the output when we change time. This is important as the periodic output will be incorrect after a time change otherwise.
>
> This unfortunately includes the adjust time function, even though it uses an atomic hardware interface. The atomic adjustment can still cause the pin output to stall permanently, so we need to stop and restart it.
>
> Introduce wrapper functions to temporarily disable and then re-enable the clock outputs.
>
> Fixes: 172db5f91d5f ("ice: add support for auxiliary input/output 
> pins")
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
 > drivers/net/ethernet/intel/ice/ice_ptp.c | 49 ++++++++++++++++++++++++  > 1 file changed, 49 insertions(+)
> Tested in CVL
>
Tested-by: Sunitha Mekala <sunithax.d.mekala at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list