]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
x86: Do not attempt to calibrate the LAPIC timer if no APIC is present
authorMark Johnston <markj@FreeBSD.org>
Tue, 28 Dec 2021 22:44:57 +0000 (17:44 -0500)
committerMark Johnston <markj@FreeBSD.org>
Tue, 28 Dec 2021 22:47:49 +0000 (17:47 -0500)
commit0ecda8d5ae896b229f13bfe73ffa3a7fc81cc550
tree9b0b8345c8d2dd64fdf0554e8f093cab9f9b5e92
parentdeca0138dc659747c9edd4648690cdfdb01f58e8
x86: Do not attempt to calibrate the LAPIC timer if no APIC is present

Reported and tested by: Michael Butler <imb@protected-networks.net>
Reviewed by: jhb, kib
Fixes: 62d09b46ad75 ("x86: Defer LAPIC calibration until after timecounters are available")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33669
sys/x86/x86/local_apic.c