The interrupt macro already stuffs the RSB at the start
but neglected to call the ENABLE_IBRS (we did call
DISABLE_IBRS when we were done).
This meant that on any interrupt we would not toggle
the IBRS MSR.
OraBug:
27448273
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Tested-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
je 1f
SWAPGS
SWITCH_KERNEL_CR3
+ ENABLE_IBRS
1:
/*
* Save previous stack pointer, optionally switch to interrupt stack.