summaryrefslogtreecommitdiff
path: root/arch/unicore32/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-11-25 21:33:54 +0300
committerThomas Gleixner <tglx@linutronix.de>2018-11-28 13:57:13 +0300
commit7cc765a67d8e04ef7d772425ca5a2a1e2b894c15 (patch)
treee60ac2f2ea13e3bb15f9a128585b43b9a943ca7a /arch/unicore32/lib
parent9137bb27e60e554dab694eafa4cca241fa3a694f (diff)
downloadlinux-7cc765a67d8e04ef7d772425ca5a2a1e2b894c15.tar.xz
x86/speculation: Enable prctl mode for spectre_v2_user
Now that all prerequisites are in place: - Add the prctl command line option - Default the 'auto' mode to 'prctl' - When SMT state changes, update the static key which controls the conditional STIBP evaluation on context switch. - At init update the static key which controls the conditional IBPB evaluation on context switch. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: David Woodhouse <dwmw@amazon.co.uk> Cc: Tim Chen <tim.c.chen@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Casey Schaufler <casey.schaufler@intel.com> Cc: Asit Mallick <asit.k.mallick@intel.com> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Jon Masters <jcm@redhat.com> Cc: Waiman Long <longman9394@gmail.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Dave Stewart <david.c.stewart@intel.com> Cc: Kees Cook <keescook@chromium.org> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20181125185005.958421388@linutronix.de
Diffstat (limited to 'arch/unicore32/lib')
0 files changed, 0 insertions, 0 deletions