]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpufeatures: Move RETPOLINE flags to word 11
authorPeter Zijlstra <peterz@infradead.org>
Mon, 3 Oct 2022 13:10:08 +0000 (10:10 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2022 07:16:54 +0000 (09:16 +0200)
commitdfda4ef65e48f04249bb69616a2daecf61328588
treef6d385fd6434c302cc9256fefe8160a225fcaeaa
parenta0ede042fceff0c5dd5c3d55f02d18dd763dca80
x86/cpufeatures: Move RETPOLINE flags to word 11

commit b70af0dd10d6659ad70e1956212742dc80493274 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