freebsd-nq/sys/amd64
Konstantin Belousov 7aa47cace1 amd64: remove lfence after swapgs on syscall entry
According to the description of SBSS issue at
https://software.intel.com/content/www/us/en/develop/articles/software-security-guidance/technical-documentation/speculative-behavior-swapgs-and-segment-registers.html
lfence after swapgs is needed only for the case when swapgs could be
speculatively executed.  Since syscall entry, unlike exception and
interrupt entries, executes swapgs unconditionally, there is no
opportunity for speculation.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D31682
2021-08-26 19:09:21 +03:00
..
acpica acpi: Fix a repeated comment typo 2021-07-19 17:19:23 +01:00
amd64 amd64: remove lfence after swapgs on syscall entry 2021-08-26 19:09:21 +03:00
cloudabi32 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
cloudabi64 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
conf kvm_clock: KVM paravirtual clock support 2021-08-14 15:57:54 +03:00
ia32 amd64: Add MD bits for KMSAN 2021-08-10 21:27:53 -04:00
include x86: cpufunc: Add rdtsc_ordered() 2021-08-14 15:57:53 +03:00
linux linux(4): Remove the unnecessary spaces. 2021-08-12 11:58:33 +03:00
linux32 linux(4): Regen for clone3 system call. 2021-08-12 11:50:22 +03:00
pci
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
Makefile