Skip to content
Snippets Groups Projects
Commit 93284533 authored by Waiman Long's avatar Waiman Long
Browse files

x86/cpufeatures: Move RETPOLINE flags to word 11

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231


CVE: CVE-2022-23816
CVE: CVE-2022-23825
CVE: CVE-2022-29900
CVE: CVE-2022-29901
Conflicts: Fuzz in the first hunk due to missing upstream commit
	   8ad7e8f6 ("x86/fpu/xsave: Support XSAVEC in the kernel").

commit a883d624
Author: Peter Zijlstra <peterz@infradead.org>
Date:   Tue, 14 Jun 2022 23:15:33 +0200

    x86/cpufeatures: Move RETPOLINE flags to word 11

    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: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>

Signed-off-by: default avatarWaiman Long <longman@redhat.com>
parent de318ab7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment