HardenedBSD/sys/amd64
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
amd64 Fix IBRS for machines with IBRS_ALL capability. 2020-02-25 17:26:10 +00:00
cloudabi32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
cloudabi64 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
conf
ia32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
include amd64: provide custom zpcpu set/add/sub routines 2020-02-12 11:15:33 +00:00
linux linuxulator: implement sendfile 2020-02-05 16:53:02 +00:00
linux32 regen linuxulator sysent after r357577 2020-02-05 16:54:16 +00:00
pci
sgx
vmm Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (4 of many) 2020-02-15 18:57:49 +00:00
Makefile