]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/cpufeatures: Move RETPOLINE flags to word 11
authorPeter Zijlstra <peterz@infradead.org>
Thu, 27 Oct 2022 20:54:42 +0000 (13:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Nov 2022 18:14:44 +0000 (19:14 +0100)
commit37b4aee162fc06b5197ab418c3ca886c94bcd76d
tree830a547027adbf0f8f97af0380666b4c498bc4b8
parent2d939788f32ed539f2745f5b203b30de9e4a30ac
x86/cpufeatures: Move RETPOLINE flags to word 11

commit a883d624aed463c84c22596006e5a96f5b44db31 upstream.

In order to extend the RETPOLINE features to 4, move them to word 11
where there is still room. This mostly keeps DISABLE_RETPOLINE
simple.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/cpufeatures.h