]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/spec: Fix spectre_v1 bug and mitigation indicators
authorJohn Haxby <john.haxby@oracle.com>
Sun, 28 Jan 2018 19:05:12 +0000 (19:05 +0000)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 1 Feb 2018 23:28:57 +0000 (15:28 -0800)
commitb30d130c4e00d6fcb9a63e91e660d952f9cdf2c6
treeb74bc5ca5d7ba336d621fa1d64b351a161200455
parent5c0553970a2361ceb481c13e86a52810fd96437a
x86/spec: Fix spectre_v1 bug and mitigation indicators

/proc/cpuinfo correctly shows that we have the spectre_v1 bug and
the sysfs vulnerabilities file shows that we have the lfence mitigation
in place.

Orabug: 27470687

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