freebsd-skq/sys/amd64
Konstantin Belousov f94cc23475 Clear the IA32_MISC_ENABLE MSR bit, which limits the max CPUID
reported, on APs.  We already did this on BSP.

Otherwise, the userspace software which depends on the features
reported by the high CPUID levels is misbehaving.  In particular, AVX
detection is non-functional, depending on which CPU thread happens to
execute when doing CPUID.  Another victim is the libthr signal
handlers interposer, which needs to save full FPU extended state.

Reported and tested by:	Andre Meiser <ortadur@web.de>
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-08-03 12:14:42 +00:00
..
acpica If x86 CPU implementation of the MWAIT instruction reasonably 2015-05-09 12:28:48 +00:00
amd64 Clear the IA32_MISC_ENABLE MSR bit, which limits the max CPUID 2015-08-03 12:14:42 +00:00
cloudabi64 Set p_osrel to __FreeBSD_version on process startup. 2015-08-03 07:29:57 +00:00
conf Pull pmspcv (pms(4)) from GENERIC. It has PCI ID conflicts 2015-07-31 15:23:48 +00:00
ia32 Remove several write-only variables, all reported by the gcc 4.9 2015-05-29 13:24:17 +00:00
include Clear the IA32_MISC_ENABLE MSR bit, which limits the max CPUID 2015-08-03 12:14:42 +00:00
linux Fixup the build after r284215. 2015-06-10 12:39:01 +00:00
linux32 pcb_gs32sd is unused for long time, remove it. Keep the padding in pcb. 2015-06-29 07:53:44 +00:00
pci Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
vmm Move the 'devmem' device nodes from /dev/vmm to /dev/vmm.io 2015-07-06 19:41:43 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00