linux/tools/arch/x86/include/asm
Peter Zijlstra (Intel) cc9e9aa4e0 UPSTREAM: x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
commit d45476d983 upstream.

The RETPOLINE_AMD name is unfortunate since it isn't necessarily
AMD only, in fact Hygon also uses it. Furthermore it will likely be
sufficient for some Intel processors. Therefore rename the thing to
RETPOLINE_LFENCE to better describe what it is.

Add the spectre_v2=retpoline,lfence option as an alias to
spectre_v2=retpoline,amd to preserve existing setups. However, the output
of /sys/devices/system/cpu/vulnerabilities/spectre_v2 will be changed.

  [ bp: Fix typos, massage. ]

Bug: 215557547
Co-developed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
[fllinden@amazon.com: backported to 5.10]
Signed-off-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If3529d497a73590e869797d3f376c72d5414a318
2022-03-14 14:43:07 +01:00
..
atomic.h Merge branch 'linus' into locking/core, to resolve conflicts 2017-11-07 10:32:44 +01:00
barrier.h tools: add smp_* barrier variants to include infrastructure 2019-04-11 14:45:50 -07:00
cmpxchg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cpufeatures.h UPSTREAM: x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE 2022-03-14 14:43:07 +01:00
disabled-features.h tools x86 headers: Update cpufeatures.h headers copies 2020-11-03 08:36:12 -03:00
emulate_prefix.h x86: xen: insn: Decode Xen and KVM emulate-prefix signature 2019-10-17 21:31:57 +02:00
inat_types.h objtool: Move x86 insn decoder to a common location 2019-08-31 22:27:52 -03:00
inat.h perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
insn.h x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes 2020-12-06 09:58:13 +01:00
irq_vectors.h tools arch x86: Grab a copy of the file containing the IRQ vector defines 2019-10-15 15:42:01 -03:00
msr-index.h tools arch x86: Sync the msr-index.h copy with the kernel sources 2020-11-03 08:36:30 -03:00
orc_types.h objtool: Make unwind hint definitions available to other architectures 2020-09-10 10:43:13 -05:00
required-features.h tools x86 headers: Update required-features.h header from the kernel 2020-11-03 08:36:25 -03:00
rmwcc.h jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
unistd_32.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
unistd_64.h KVM: selftests: Add demand paging content to the demand paging test 2020-03-16 17:56:48 +01:00