linux_dsm_epyc7002/drivers/net/ethernet/intel/igb
Miroslav Lichvar 4c9b658eea igb: shorten maximum PHC timecounter update interval
The timecounter needs to be updated at least once per ~550 seconds in
order to avoid a 40-bit SYSTIM timestamp to be misinterpreted as an old
timestamp.

Since commit 500462a9de ("timers: Switch to a non-cascading wheel"),
scheduling of delayed work seems to be less accurate and a requested
delay of 540 seconds may actually be longer than 550 seconds. Also, the
PHC may be adjusted to run up to 6% faster than real time and the system
clock up to 10% slower. Shorten the delay to 360 seconds to be sure the
timecounter is updated in time.

This fixes an issue with HW timestamps on 82580/I350/I354 being off by
~1100 seconds for few seconds every ~9 minutes.

Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-11-06 12:54:27 -08:00
..
e1000_82575.c igb: e1000_82575: Mark expected switch fall-through 2018-08-07 17:54:20 -07:00
e1000_82575.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_defines.h igb: Add support for ETF offload 2018-07-04 22:30:28 +09:00
e1000_hw.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_i210.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_i210.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_mac.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_mac.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_mbx.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_nvm.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_nvm.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_phy.c igb: e1000_phy: Mark expected switch fall-through 2018-08-07 17:54:20 -07:00
e1000_phy.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_regs.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
igb_ethtool.c igb: Replace mdelay() with msleep() in igb_integrated_phy_loopback() 2018-08-24 08:52:35 -07:00
igb_hwmon.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
igb_main.c pci-v4.20-changes 2018-10-25 06:50:48 -07:00
igb_ptp.c igb: shorten maximum PHC timecounter update interval 2018-11-06 12:54:27 -08:00
igb.h igb: Add support for ETF offload 2018-07-04 22:30:28 +09:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00