svn commit: r334327 - stable/11/sys/amd64/include

Konstantin Belousov kib at FreeBSD.org
Tue May 29 13:24:43 UTC 2018


Author: kib
Date: Tue May 29 13:24:42 2018
New Revision: 334327
URL: https://svnweb.freebsd.org/changeset/base/334327

Log:
  MFC r334038:
  Enable IBRS when entering an interrupt handler from usermode.
  
  Approved by:	re (marius)

Modified:
  stable/11/sys/amd64/include/asmacros.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/include/asmacros.h
==============================================================================
--- stable/11/sys/amd64/include/asmacros.h	Tue May 29 13:07:36 2018	(r334326)
+++ stable/11/sys/amd64/include/asmacros.h	Tue May 29 13:24:42 2018	(r334327)
@@ -255,6 +255,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
 


More information about the svn-src-stable mailing list