]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/spec_ctrl: Provide the sysfs version of the ibrs_enabled
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 5 Jan 2018 03:37:27 +0000 (22:37 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:20:12 +0000 (10:20 -0800)
commitfbd7b4246d27e637593e9ca29021e231c72f7319
treea7a9ab7cad1a82d4f02f8aa4fc381361640275c9
parentcf4117d14d6f6007757dad8646d71676fdae2f29
x86/spec_ctrl: Provide the sysfs version of the ibrs_enabled

as well as the proc version.

This is rather important as customers are asking about the sysfs
now. But this may change in the future. See

https://lkml.org/lkml/2018/1/6/303

Orabug: 27344012
CVE: CVE-2017-5715

Reviewed-by: Todd Vierling <todd.vierling@oracle.com>
Acked-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/spec_ctrl.h
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/spec_ctrl.c [new file with mode: 0644]