linux/arch
Vincenzo Frascino bbc60b009e UPSTREAM: arm64: enable armv8.5-a asm-arch option
[ Upstream commit f469c032c0 ]

Hardware tag-based KASAN relies on Memory Tagging Extension (MTE) which is
an armv8.5-a architecture extension.

Enable the correct asm option when the compiler supports it in order to
allow the usage of ALTERNATIVE()s with MTE instructions.

Link: https://lkml.kernel.org/r/d03d1157124ea3532eaeb77507988733f5734986.1606161801.git.andreyknvl@google.com
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Marco Elver <elver@google.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Bug: 172318110
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: I7ec5f3dc7fe81d4677f6992cca980ea3fdbef9fb
2021-01-19 21:47:29 -08:00
..
alpha local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
arc arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC 2021-01-19 18:27:26 +01:00
arm This is the 5.10.9 stable release 2021-01-19 18:49:54 +01:00
arm64 UPSTREAM: arm64: enable armv8.5-a asm-arch option 2021-01-19 21:47:29 -08:00
c6x Revert "Revert "uaccess: add infrastructure for kernel builds with set_fs()"" 2020-10-28 15:08:39 +01:00
csky Merge 5.10.7 into android12-5.10 2021-01-13 10:29:42 +01:00
h8300 local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
hexagon local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
ia64 local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
m68k local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
microblaze local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
mips MIPS: relocatable: fix possible boot hangup with KASLR enabled 2021-01-19 18:27:20 +01:00
nds32 local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
nios2 sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
openrisc sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
parisc Merge 5.10.7 into android12-5.10 2021-01-13 10:29:42 +01:00
powerpc Merge 5.10.8 into android12-5.10 2021-01-19 09:33:21 +01:00
riscv This is the 5.10.9 stable release 2021-01-19 18:49:54 +01:00
s390 Merge 5.10.7 into android12-5.10 2021-01-13 10:29:42 +01:00
sh Merge 5.10.7 into android12-5.10 2021-01-13 10:29:42 +01:00
sparc local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
um Merge 5.10.5 into android12-5.10 2021-01-10 12:19:03 +01:00
x86 This is the 5.10.9 stable release 2021-01-19 18:49:54 +01:00
xtensa Merge 5.10.7 into android12-5.10 2021-01-13 10:29:42 +01:00
.gitignore
Kconfig Merge 5.10.8 into android12-5.10 2021-01-19 09:33:21 +01:00