freebsd-nq/sys/x86
Konstantin Belousov e7f1427dd2 The change to reduce default smp_tsc_shift caused tsc shift to become
zero on slower machines, which make the fenced get_timecount methods
not used despite needed.  Remove the (shift > 0) condition when
selecting the get_timecount() implementation.

Rename smp_tsc_shift to tsc_shift, and apply it for the UP case too.
Allow shift to reach value of 31 instead of 30, as it was previously
(should be nop).

Reorganize the tc quality calculation to remove the conditionally
compiled block.  Rename test_smp_tsc() to test_tsc() and provide
separate versions for SMP and UP builds.  The check for virtialized
hardware is more natural to perform in the smp version of the
test_tsc(), since it is only done for smp case.

Noted and reviewed by:	bde (previous version)
MFC after:	12 days
2013-02-01 16:48:55 +00:00
..
acpica Merge ACPICA 20120816. 2012-08-16 20:54:52 +00:00
bios Add missing header needed by free(9). 2012-09-30 15:42:20 +00:00
cpufreq This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
include Add macros required to enable VMX operation on Intel processors. 2013-01-05 04:20:14 +00:00
isa This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
pci Trim stray blank line. 2012-04-11 21:00:33 +00:00
x86 The change to reduce default smp_tsc_shift caused tsc shift to become 2013-02-01 16:48:55 +00:00