Author: kib
Date: Tue May 22 13:25:15 2018
New Revision: 334038
URL: https://svnweb.freebsd.org/changeset/base/334038
Log:
Enable IBRS when entering an interrupt handler from usermode.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/amd64/include/asmacros.h
Modified: head/sys/amd64/include/asmacros.h
==============================================================================
--- head/sys/amd64/include/asmacros.h Tue May 22 13:21:44 2018
(r334037)
+++ head/sys/amd64/include/asmacros.h Tue May 22 13:25:15 2018
(r334038)
@@ -260,6 +260,7 @@ X\vec_name:
jz 1f /* yes, leave PCB_FULL_IRET alone */
movq PCPU(CURPCB),%r8
andl $~PCB_FULL_IRET,PCB_FLAGS(%r8)
+ call handle_ibrs_entry
1:
.endm
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"