freebsd-nq/sys
Mark Johnston 075e2779ac x86: Defer early TSC timecounter calibration to SI_SUB_CPU
If we can't determine the TSC frequency using CPU registers, we need to
give a chance for Hyper-V drivers to register a timecounter (during
SI_SUB_HYPERVISOR) since an emulated 8254 might not be available.
Thus, split probe_tsc_freq() into early and late stages, and wait until
the latter to attempt calibration using a reference clock.

Fixes:		84369dd523 ("x86: Probe the TSC frequency earlier")
Reported and tested by:	khng, Shawn Webb
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34444
2022-03-04 19:34:43 -05:00
..
amd64 amd64: Call clock_init() after finishidentcpu() 2022-03-04 19:32:39 -05:00
arm arm: Add extres pseudo devices to some kernel 2022-02-23 08:47:57 +01:00
arm64 Fix the sanitizer header checks on arm64 2022-02-23 14:50:56 +00:00
bsm
cam CTL: Rework 05c3e8e871 using %zu format. 2022-02-25 11:53:53 -05:00
cddl fasttrap: Avoid creating WX mappings 2022-03-01 12:40:35 -05:00
compat LinuxKPI: pci.h MODULE_DEVICE_TABLE to MODULE_PNP_INFO 2022-03-04 00:12:45 +00:00
conf ice(4): Update to 1.34.2-k 2022-03-04 10:51:41 -08:00
contrib iwlwifi: adjust the LinuxKPI pci return for now 2022-03-03 23:16:40 +00:00
crypto armv8crypto: Remove leftover debug printfs 2022-02-17 14:25:45 -05:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev ice(4): Fix build error when ALTQ is enabled 2022-03-04 14:11:14 -08:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs nfscl: Fix a use after free in nfscl_cleanupkext() 2022-02-25 07:27:03 -08:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom g_part: Allow attributes to be querried 2022-03-01 08:06:42 -07:00
gnu
i386 x86: Probe the TSC frequency earlier 2022-03-01 09:39:35 -05:00
isa sys/isa: Use C99 fixed-width integer types. 2021-12-28 09:41:57 -08:00
kern Improve timeout precision of pthread_cond_timedwait(). 2022-03-03 22:03:09 -05:00
kgssapi
libkern sys/libkern: Use C99 fixed-width integer types. 2021-12-28 09:42:11 -08:00
modules ice(4): Update to 1.34.2-k 2022-03-04 10:51:41 -08:00
net if_epair: fix build with RSS and INET or INET6 disabled 2022-03-03 18:31:26 +01:00
net80211 net80211: enhance (disabled) debugging 2022-02-14 22:16:59 +00:00
netgraph ng pppoe(4): Add the required NET_EPOCH section to the hook 2022-02-09 22:00:50 +03:00
netinet rip: Fix a -Wunused-but-set-variable warning 2022-03-01 09:39:43 -05:00
netinet6 Fix a memory leak when ip_output_send() returns EAGAIN due to send tag issues 2022-01-27 10:34:34 -05:00
netipsec ipsec: sprinkle CURVNET_ASSERT_SET 2022-02-19 13:10:41 +00:00
netpfil pf: support masking mac addresses 2022-03-02 17:00:08 +01:00
netsmb
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2021-12-15 20:54:57 -07:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed ibcore: Fix multiple includes of same header file. 2022-03-03 12:51:20 +01:00
opencrypto crypto: hide crypto_destroyreq behind a tunable 2022-02-16 07:45:12 +00:00
powerpc proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
riscv riscv: Add support for enabling SV48 mode 2022-03-01 09:39:44 -05:00
rpc sys/rpc: Use C99 fixed-width integer types. 2021-12-28 09:43:15 -08:00
security Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
sys Revert "Expand __diagused to include the KTR kernel diagnostic option." 2022-03-03 20:26:59 +00:00
teken
tests
tools Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
ufs ffs_read(): lock buffers after snaplk with LK_NOWITNESS 2022-02-06 03:26:22 +02:00
vm uma: Add UMA_ZONE_UNMANAGED 2022-02-15 09:25:34 -05:00
x86 x86: Defer early TSC timecounter calibration to SI_SUB_CPU 2022-03-04 19:34:43 -05:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen xen: remove public headers in sys/xen/interface 2022-02-07 10:12:34 +01:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00