Andriy Gapon 279be68bfd re-synchronize TSC-s on SMP systems after resume, if necessary
The TSC-s are checked and synchronized only if they were good
originally.  That is, invariant, synchronized, etc.

This is necessary on an AMD-based system where after a wakeup from STR I
see that BSP clock differs from AP clocks by a count that roughly
corresponds to one second.  The APs are in sync with each other.  Not
sure if this is a hardware quirk or a firmware bug.

This is what I see after a resume with this change:
    SMP: passed TSC synchronization test after adjustment
    acpi_timer0: restoring timecounter, ACPI-fast -> TSC-low

Reviewed by:	kib
MFC after:	3 weeks
Differential Revision: https://reviews.freebsd.org/D15551
2018-05-25 07:33:20 +00:00
..
2018-05-24 17:06:00 +00:00
2018-05-25 03:34:33 +00:00
2018-05-24 21:11:33 +00:00
2018-05-10 03:59:48 +00:00
2018-05-20 06:14:12 +00:00
2018-02-14 00:12:03 +00:00
2018-05-24 17:06:00 +00:00
2018-03-24 21:30:24 +00:00
2018-05-02 10:19:17 +00:00