]> www.infradead.org Git - users/jedix/linux-maple.git/commit
retpoline: move setting of sysctl_ibrs_enabled and sysctl_ibpb_enabled to where SPEC_...
authorChuck Anderson <chuck.anderson@oracle.com>
Mon, 26 Feb 2018 10:04:33 +0000 (02:04 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 3 Mar 2018 01:58:51 +0000 (17:58 -0800)
commita493dd97d34ca7c27d653ac16f7ec783b51853bd
tree12f4bd688b8cc3766f0faaa41a750f59069d7b6f
parent5560f91691771eb9ce4a5f94f78c6e002286e7d5
retpoline: move setting of sysctl_ibrs_enabled and sysctl_ibpb_enabled to where SPEC_CTRL_IBRS_INUSE and SPEC_CTRL_IBPB_INUSE are set

Move the setting of sysctl_ibrs_enabled and sysctl_ibpb_enabled to the
functions that set SPEC_CTRL_IBRS_INUSE and SPEC_CTRL_IBPB_INUSE.

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>
Conflicts:
arch/x86/include/asm/spec_ctrl.h
arch/x86/include/asm/spec_ctrl.h
arch/x86/kernel/cpu/scattered.c