]> www.infradead.org Git - users/jedix/linux-maple.git/commit
retpoline: display IBPB feature status along with IBRS status
authorChuck Anderson <chuck.anderson@oracle.com>
Mon, 26 Feb 2018 09:27:37 +0000 (01:27 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 3 Mar 2018 01:58:41 +0000 (17:58 -0800)
commitd550e0c92e1987991428a4233e91a84f7bccbe03
treed1ce262296a790412d6671f5b0336f77f2bf1f74
parent8a49dfb41eb96ffa82c6c72664ed29ad5a74e2b3
retpoline: display IBPB feature status along with IBRS status

retpoline_enabled() lists if the IBRS mitigation is in use and if the
kernel was compiled with retpoline.  Add whether IBPB is in use to the
list.

Orabug: 27625404
Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
arch/x86/kernel/cpu/bugs_64.c
arch/x86/kernel/cpu/scattered.c