]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86: Move ENABLE_IBRS in the interrupt macro.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 13 Jan 2018 03:21:18 +0000 (22:21 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Sat, 27 Jan 2018 00:34:31 +0000 (16:34 -0800)
commitfa13c5f6240857a661c4df58b9846e4b97dc9572
treec4fd8eaa3313d86ddf3cf7cf6edf93afb308f679
parent550dd697bc302d3598542a284be4986c75f1d95f
x86: Move ENABLE_IBRS in the interrupt macro.

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>
arch/x86/kernel/entry_64.S