freebsd-dev/sys/x86
Roger Pau Monné 1ca34862dc x86/tsc: fetch frequency from CPUID when running on Xen
Introduce a helper to fetch the TSC frequency from CPUID when running
under Xen.

Since the TSC can also be initialized early when running as a Xen
guest pull out the call to tsc_init() from the
early_clock_source_init() handlers and place it in clock_init(), as
otherwise all handlers would call tsc_init() anyway.

Reviewed by: markj
Sponsored by: Citrix Systems R&D
Differential revision: https://reviews.freebsd.org/D34581
2022-03-18 10:21:04 +01:00
..
acpica x86/madt: allow Xen guest to use x2APIC mode 2022-01-13 17:15:24 +01:00
bios smbios: Move smbios driver out from x86 machdep code 2021-02-23 21:17:09 +00:00
conf Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
cpufreq x86: Remove CTLFLAG_NEEDGIANT from sysctls. 2021-12-25 22:24:20 -05:00
include x86: Probe the TSC frequency earlier 2022-03-01 09:39:35 -05:00
iommu dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
isa x86/tsc: fetch frequency from CPUID when running on Xen 2022-03-18 10:21:04 +01:00
linux Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
pci pci: add missing PCI id of Coffee Lake GPU 2021-12-17 23:18:31 +02:00
x86 x86/tsc: fetch frequency from CPUID when running on Xen 2022-03-18 10:21:04 +01:00
xen xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00