freebsd-dev/sys/x86/xen
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
..
hvm.c xen: remove hypervisor_info 2021-05-17 10:56:52 +02:00
pv.c xen: Fix warning by adding KERNBASE to modlist_paddr before casting 2021-08-29 19:43:00 +02:00
xen_apic.c x86: Defer LAPIC calibration until after timecounters are available 2021-12-06 10:42:10 -05:00
xen_intr.c xen: introduce xen_has_percpu_evtchn() 2021-07-28 17:27:05 +02:00