]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/spectre: Add IBRS option.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 1 Feb 2018 14:45:27 +0000 (09:45 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Wed, 7 Feb 2018 19:00:30 +0000 (11:00 -0800)
commit2328a007b0aed23792ff7e1a9d7e02d15e928b52
tree837ee724f4a131cf3a91ea10cecc4c92093df7ad
parent0c86c86505267d4c141c6d3bbdf0f70b9e4069e6
x86/spectre: Add IBRS option.

The spectre_v2_mitigation already has an IBRS option, lets make
the override possible. But don't select it by default if
the kernel has been compiled with retpoline.

If it has not (no compiler support), then fallback to ibrs.

Orabug: 27477743
CVE: CVE-2017-5715
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Documentation/kernel-parameters.txt
arch/x86/kernel/cpu/bugs_64.c