android_kernel_xiaomi_sdm845/tools/arch
Peter Zijlstra (Intel) a771511caa x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
commit d45476d9832409371537013ebdd8dc1a7781f97a 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. ]

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 4.19]
Signed-off-by: Frank van der Linden <fllinden@amazon.com>
[bwh: Backported to 4.9: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-11 10:03:30 +01:00
..
alpha/include
arc/include/uapi/asm
arm/include perf/tools: header file sync up 2018-06-05 10:28:58 +02:00
arm64/include perf/tools: header file sync up 2018-06-05 10:28:58 +02:00
frv/include/uapi/asm
h8300/include
hexagon/include/uapi/asm
ia64/include ia64: tools: remove duplicate definition of ia64_mf() on ia64 2021-04-28 12:07:17 +02:00
m32r/include/uapi/asm
microblaze/include/uapi/asm
mips/include
mn10300/include/uapi/asm
parisc/include/uapi/asm
powerpc/include perf/tools: header file sync up 2018-06-05 10:28:58 +02:00
s390/include perf/tools: header file sync up 2018-06-05 10:28:58 +02:00
score/include/uapi/asm
sh/include
sparc/include
tile/include
x86 x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE 2022-03-11 10:03:30 +01:00
xtensa/include