freebsd-skq/sys/dev/acpica
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
..
Osd Redo r332918 with the ACPICA API and remove debug.acpi.suspend_deep_bounce. 2018-05-03 19:00:50 +00:00
acpi_acad.c
acpi_battery.c
acpi_bus_if.m Add the start of INTRNG support for ACPI. 2018-01-11 17:09:12 +00:00
acpi_button.c
acpi_cmbat.c Fix startup race initialising ACPI CM battery structures on MacBookPro. 2017-02-27 08:36:51 +00:00
acpi_container.c hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
acpi_cpu.c Use device_quiet_children to silence verbose CPU probe messages. 2018-05-07 21:09:17 +00:00
acpi_dock.c
acpi_ec.c
acpi_hpet.c hpet: use macros instead of magic values for the timer mode 2018-05-03 13:14:31 +00:00
acpi_hpet.h
acpi_if.m
acpi_isab.c
acpi_lid.c Export the actual LID state via sysctl. This allows more complex 2017-03-12 18:00:02 +00:00
acpi_package.c acpica: remove a superfluous NULL check 2017-02-16 20:27:22 +00:00
acpi_pci_link.c
acpi_pci.c
acpi_pcib_acpi.c Add support for NUMA domains to bus dma tags. This causes all memory 2018-01-12 23:34:16 +00:00
acpi_pcib_pci.c
acpi_pcib.c
acpi_pcibvar.h
acpi_pcivar.h
acpi_perf.c
acpi_powerres.c
acpi_quirk.c
acpi_quirks
acpi_resource.c Workaround fixed I/O port resources encoded as I/O port ranges in _CRS. 2018-04-18 18:36:26 +00:00
acpi_smbat.c
acpi_smbus.h
acpi_thermal.c Attach a "thermal_zone" label to the ACPI thermal zone sysctls. 2016-12-14 13:00:27 +00:00
acpi_throttle.c
acpi_timer.c
acpi_video.c
acpi.c re-synchronize TSC-s on SMP systems after resume, if necessary 2018-05-25 07:33:20 +00:00
acpiio.h
acpivar.h Remove local definitions for _STA method in favor of ACPICA. 2018-03-14 23:42:28 +00:00