Mark Johnston 62d09b46ad x86: Defer LAPIC calibration until after timecounters are available
This ensures that we have a good reference timecounter for performing
calibration.

Change lapic_setup to avoid configuring the timer when booting, and move
calibration and initial configuration to a new lapic routine,
lapic_calibrate_timer.  This calibration will be initiated from
cpu_initclocks(), before an eventtimer is selected.

Reviewed by:	kib, jhb
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33206
2021-12-06 10:42:10 -05:00
..
2021-12-06 10:39:08 -05:00
2021-12-05 23:00:01 -07:00
2021-11-29 22:04:58 +00:00
2021-12-06 10:10:27 -04:00
2021-12-03 23:40:24 -07:00
2021-12-06 10:39:08 -05:00
2021-12-05 15:33:04 -07:00
2021-12-06 11:28:03 +01:00