freebsd-dev/sys/x86
Konstantin Belousov a324b7f71d Fix IBRS for machines with IBRS_ALL capability.
When turning IBRS mitigation using sysctl, as opposed to loader tunable,
send IPI to tweak MSR on all cores.  Right now code only performed MSR write
onr the CPU where sysctl was run.

Properly report hw.ibrs_active for IBRS_ALL.  Split hw_ibrs_ibpb_active out
from ibrs_active, to keep the current semantic of guiding kernel entry and
exit handlers.

Reported and tested by:	mav
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2020-02-25 17:26:10 +00:00
..
acpica Fix IBRS for machines with IBRS_ALL capability. 2020-02-25 17:26:10 +00:00
bios sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
conf Floppy driver really only works on x86 2019-08-12 22:58:50 +00:00
cpufreq hwpstate_intel(4): Save admin-set EPP/EPB and restore after suspend 2020-02-01 20:12:02 +00:00
include Fix IBRS for machines with IBRS_ALL capability. 2020-02-25 17:26:10 +00:00
iommu In dmar_gas_lowermatch, skip searching a subtree if all its addresses are greater than lowaddr. 2020-02-01 21:47:34 +00:00
isa Fix amd64/i386 LINT build after r344982 2019-03-11 19:46:15 +00:00
pci Add pci_early function to detect Intel stolen memory. 2018-10-31 23:17:00 +00:00
x86 Fix IBRS for machines with IBRS_ALL capability. 2020-02-25 17:26:10 +00:00
xen xen: fix dispatching of NMIs 2019-11-12 10:31:28 +00:00