diff options
author | Borislav Petkov <bp@suse.de> | 2018-05-02 18:15:14 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-05-17 17:09:16 +0200 |
commit | e7c587da125291db39ddf1f49b18e5970adbac17 (patch) | |
tree | 6c8ca082d4e34cfff4b8f06a3e926be837832c12 /arch/x86/Makefile.um | |
parent | 15e6c22fd8e5a42c5ed6d487b7c9fe44c2517765 (diff) |
x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
Intel and AMD have different CPUID bits hence for those use synthetic bits
which get set on the respective vendor's in init_speculation_control(). So
that debacles like what the commit message of
c65732e4f721 ("x86/cpu: Restore CPUID_8000_0008_EBX reload")
talks about don't happen anymore.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Jörg Otte <jrg.otte@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Link: https://lkml.kernel.org/r/20180504161815.GG9257@pd.tnic
Diffstat (limited to 'arch/x86/Makefile.um')
0 files changed, 0 insertions, 0 deletions