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-04-08 22:59:34 +00:00
2018-05-06 00:45:41 +00:00
2018-05-22 15:49:23 +00:00
2018-04-13 20:30:49 +00:00
2018-05-15 13:30:59 +00:00
2017-12-30 19:27:22 +00:00
2018-05-17 10:13:18 +00:00
2018-03-14 18:27:06 +00:00
2018-03-28 07:59:16 +00:00
2018-04-08 22:59:34 +00:00
2018-05-25 03:34:33 +00:00
2018-05-03 22:51:44 +00:00
2018-04-13 20:30:49 +00:00
2018-04-28 17:43:20 +00:00
2018-04-23 16:38:27 +00:00
2018-04-13 20:30:49 +00:00
2018-05-01 13:57:08 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00
2018-05-24 10:20:42 +00:00