summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/cppc_msr.c
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2018-11-25 19:33:33 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-11-28 11:57:05 +0100
commit34bce7c9690b1d897686aac89604ba7adc365556 (patch)
treee50d5a1a628e1d7c76c2d582dc54aed757844e9e /arch/x86/kernel/acpi/cppc_msr.c
parentx86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common() (diff)
downloadlinux-34bce7c9690b1d897686aac89604ba7adc365556.tar.xz
linux-34bce7c9690b1d897686aac89604ba7adc365556.zip
x86/speculation: Disable STIBP when enhanced IBRS is in use
If enhanced IBRS is active, STIBP is redundant for mitigating Spectre v2 user space exploits from hyperthread sibling. Disable STIBP when enhanced IBRS is used. Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> 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: 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/20181125185003.966801480@linutronix.de
Diffstat (limited to 'arch/x86/kernel/acpi/cppc_msr.c')
0 files changed, 0 insertions, 0 deletions