1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/sys
Konstantin Belousov 36596c2a29 Detect x2APIC mode on boot and obey it.
If BIOS performed hand-off to OS with BSP LAPIC in the x2APIC mode,
system usually consumes such configuration without a notice, since
x2APIC is turned on by OS if possible (nop).  But if BIOS
simultaneously requested OS to not use x2APIC, code assumption that
that xAPIC is active breaks.

In my opinion, we cannot safely turn off x2APIC if control is passed
in this mode.  Make madt.c ignore user or BIOS requests to turn x2APIC
off, and do not check the x2APIC black list.  Just trust the config
and try to continue, giving a warning in dmesg.

Reported and tested by:	Slawa Olhovchenkov <slw@zxy.spb.ru> (previous version)
Diagnosed by and discussed with:	avg
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-09-19 15:58:45 +00:00
..
amd64 Consolidate four efi_next_descriptor() definitions. 2016-09-18 17:38:02 +00:00
arm Consolidate four efi_next_descriptor() definitions. 2016-09-18 17:38:02 +00:00
arm64 Consolidate four efi_next_descriptor() definitions. 2016-09-18 17:38:02 +00:00
boot Add comment for the closing guard. 2016-09-18 18:40:27 +00:00
bsm
cam Don't report to devd statuses that CAM doesn't consider errors. 2016-09-08 13:33:33 +00:00
cddl MFV r268120: 2016-09-11 17:48:06 +00:00
compat Regen. 2016-09-18 22:03:26 +00:00
conf Add very preliminary support for CloudABI for ARMv6. 2016-09-18 11:36:54 +00:00
contrib Fix badly computed register/stack offset of system call output arguments. 2016-09-18 17:23:53 +00:00
crypto Fix typo in skein amd64 assembly 2016-09-08 02:38:55 +00:00
ddb Silently ignore unexpected single-step traps (except for turning 2016-09-17 11:43:51 +00:00
dev hyperv/hn: Allow RSS capability flipping upon attach/reinit. 2016-09-19 07:47:56 +00:00
fs Change the getnewvnode(9) tag for nullfs from "null" to "nullfs". 2016-09-15 13:57:37 +00:00
gdb
geom Don't treat an error from g_mirror_clear_metadata() as fatal. 2016-09-06 23:42:59 +00:00
gnu
i386 Remove all kernel uses of pcb_psl, but keep in in the struct to 2016-09-17 14:00:52 +00:00
isa
kern Fix LINT building. 2016-09-18 07:37:00 +00:00
kgssapi
libkern
mips Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
modules cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will 2016-09-16 00:08:37 +00:00
net Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
net80211 [net80211] add a HT method to populate HTCAP based on IBSS requirements. 2016-09-17 05:44:57 +00:00
netgraph Avoid panic from ng_uncallout when unpluggin ethernet cable with active 2016-08-08 19:31:01 +00:00
netinet Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netinet6 Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netipsec Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netnatm
netpfil Move opcode rewriter init and destroy handlers into non-VENT code. 2016-09-18 17:35:17 +00:00
netsmb
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
ofed Do not free an uninitialized pointer on soaccept failure in the iWARP 2016-08-26 08:25:28 +00:00
opencrypto opencrypto AES-ICM: Fix heap corruption typo 2016-08-01 22:57:03 +00:00
pc98 Remove the ie(4) driver for Intel 82586 ISA Ethernet adapters. 2016-08-20 00:49:29 +00:00
powerpc Only define db_show_spr if DDB is enabled. 2016-09-14 23:24:23 +00:00
riscv Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
rpc Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
security Don't check aq64_minfree which is unsigned for negative values. 2016-09-08 19:47:57 +00:00
sparc64 Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
sys Consolidate four efi_next_descriptor() definitions. 2016-09-18 17:38:02 +00:00
teken
tests
tools Consider CROSS_BINUTILS_PREFIX environment variable so we use correct 2016-08-10 13:49:17 +00:00
ufs Be more strict when selecting between snapshot/regular mount. 2016-09-19 15:58:33 +00:00
vm Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
x86 Detect x2APIC mode on boot and obey it. 2016-09-19 15:58:45 +00:00
xdr
xen
Makefile