x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 14 Jun 2022 21:15:56 +0000 (23:15 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 27 Jun 2022 08:33:59 +0000 (10:33 +0200)
commit166115c08a9b0b846b783088808a27d739be6e8d
tree8a2a36a080136a8e5a22032dc20dac0e5afd8412
parent7c693f54c873691a4b7da05c7e0f74e67745d144
x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()

retbleed will depend on spectre_v2, while spectre_v2_user depends on
retbleed. Break this cycle.

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>
arch/x86/kernel/cpu/bugs.c