linux/arch
Evgenii Stepanov db81ae3c3e FROMGIT: kasan: speed up mte_set_mem_tag_range
Use DC GVA / DC GZVA to speed up KASan memory tagging in HW tags mode.

The first cacheline is always tagged using STG/STZG even if the address is
cacheline-aligned, as benchmarks show it is faster than a conditional
branch.

Signed-off-by: Evgenii Stepanov <eugenis@google.com>
Co-developed-by: Peter Collingbourne <pcc@google.com>
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210521010023.3244784-1-eugenis@google.com
Signed-off-by: Will Deacon <will@kernel.org>

Bug: 186467733
Test: Treehugger
(cherry picked from commit 3d0cca0b02
 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/mte)
Signed-off-by: Evgenii Stepanov <eugenis@google.com>
Change-Id: I17dd9d163aed53e4b5fe97ac6610dfdea20cf000
2021-06-01 17:29:32 +00:00
..
alpha
arc ARC: mm: Use max_high_pfn as a HIGHMEM zone border 2021-05-19 10:13:10 +02:00
arm This is the 5.10.39 stable release 2021-05-22 15:34:48 +02:00
arm64 FROMGIT: kasan: speed up mte_set_mem_tag_range 2021-06-01 17:29:32 +00:00
c6x
csky Merge 5.10.33 into android12-5.10 2021-04-29 13:57:47 +02:00
h8300 Merge 5.10.17 into android12-5.10 2021-02-18 11:21:01 +01:00
hexagon
ia64 This is the 5.10.39 stable release 2021-05-22 15:34:48 +02:00
m68k Merge 5.10.37 into android12-5.10 2021-05-15 09:28:55 +02:00
microblaze
mips Merge 5.10.38 into android12-5.10 2021-05-20 15:35:25 +02:00
nds32 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff 2021-04-14 08:41:58 +02:00
nios2 nios2: fixed broken sys_clone syscall 2021-03-04 11:38:16 +01:00
openrisc openrisc: mm/init.c: remove unused memblock_region variable in map_ram() 2021-05-26 12:06:57 +02:00
parisc Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
powerpc Merge 5.10.40 into android12-5.10 2021-05-27 08:36:46 +02:00
riscv This is the 5.10.39 stable release 2021-05-22 15:34:48 +02:00
s390 Merge 5.10.37 into android12-5.10 2021-05-15 09:28:55 +02:00
sh BACKPORT: FROMGIT: hugetlb: pass vma into huge_pte_alloc() and huge_pmd_share() 2021-04-09 15:35:58 -07:00
sparc BACKPORT: FROMGIT: hugetlb: pass vma into huge_pte_alloc() and huge_pmd_share() 2021-04-09 15:35:58 -07:00
um This is the 5.10.39 stable release 2021-05-22 15:34:48 +02:00
x86 This is the 5.10.41 stable release 2021-05-28 13:28:25 +02:00
xtensa Merge 5.10.28 into android12-5.10 2021-04-09 09:29:17 +02:00
.gitignore
Kconfig ANDROID: Allow HAS_LTO_CLANG with KASAN_HW_TAGS 2021-03-06 01:39:52 +00:00