]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86/bugs: Flush IBP in ib_prctl_set()
authorRodrigo Branco <bsdaemon@google.com>
Tue, 3 Jan 2023 20:17:51 +0000 (14:17 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 4 Jan 2023 10:25:32 +0000 (11:25 +0100)
commita664ec9158eeddd75121d39c9a0758016097fa96
treec158a59624bea7ee7998643dd62cd3da52ab3c0e
parent72bb8f8cc088730c4d84117a6906f458c2fc64bb
x86/bugs: Flush IBP in ib_prctl_set()

We missed the window between the TIF flag update and the next reschedule.

Signed-off-by: Rodrigo Branco <bsdaemon@google.com>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: <stable@vger.kernel.org>
arch/x86/kernel/cpu/bugs.c