]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/spec: Add 'lfence_enabled' in sysfs
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Jan 2018 18:51:48 +0000 (13:51 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 1 Feb 2018 22:19:52 +0000 (14:19 -0800)
commit81e94fefdbf77df97809d83cc765db506eda47de
treea18895fc465927b85ea9977415dcb2fae77e34a2
parent5ea301faa3cfe658171797fb5bf613c74edfe943
x86/spec: Add 'lfence_enabled' in sysfs

To toggle during runtime whether the lfence fallback should be used.
If IBRS is enabled warnings will be returned.

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/spec_ctrl.c