]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mitigation/spectre_v2: Add reporting of 'lfence'
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Jan 2018 19:42:32 +0000 (14:42 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 1 Feb 2018 22:20:06 +0000 (14:20 -0800)
commit00201d3c0f34c4763a6d455f3632e99a905e7c52
tree24798e22f362d4268beefe5e785e1b02a1479181
parent81e94fefdbf77df97809d83cc765db506eda47de
x86/mitigation/spectre_v2: Add reporting of 'lfence'

if IBRS is off, but we do have 'lfence' enabled.

Obviously if 'lfence' is IBRS and 'nolfence' has been used - we
print that too.

OraBug: 27472666
Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/spec_ctrl.h
arch/x86/kernel/cpu/bugs_64.c