diff options
author | Jiri Kosina <jkosina@suse.cz> | 2018-09-25 14:39:28 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-09-26 14:26:52 +0200 |
commit | bb4b3b7762735cdaba5a40fd94c9303d9ffa147a (patch) | |
tree | 3e5caa2f2fe2ae672ef56f0c1ef066072161cc09 /arch/x86/kernel/doublefault.c | |
parent | 53c613fe6349994f023245519265999eed75957f (diff) |
x86/speculation: Propagate information about RSB filling mitigation to sysfs
If spectrev2 mitigation has been enabled, RSB is filled on context switch
in order to protect from various classes of spectrev2 attacks.
If this mitigation is enabled, say so in sysfs for spectrev2.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: "WoodhouseDavid" <dwmw@amazon.co.uk>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: "SchauflerCasey" <casey.schaufler@intel.com>
Link: https://lkml.kernel.org/r/nycvar.YFH.7.76.1809251438580.15880@cbobk.fhfr.pm
Diffstat (limited to 'arch/x86/kernel/doublefault.c')
0 files changed, 0 insertions, 0 deletions