Enable IBRS when entering an interrupt handler from usermode.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
2cea52d486
commit
e6ad362804
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user