[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+fCnZf+U3RhmMeGxQ-UypJw2yGd8RJ0gFKrCXsC1eQ5YO-eXw@mail.gmail.com>
Date: Tue, 20 Jan 2026 18:54:48 +0100
From: Andrey Konovalov <andreyknvl@...il.com>
To: Maciej Wieczor-Retman <m.wieczorretman@...me>
Cc: chleroy@...nel.org, surenb@...gle.com, justinstitt@...gle.com,
nsc@...nel.org, jan.kiszka@...mens.com, trintaeoitogc@...il.com,
dave.hansen@...ux.intel.com, ryabinin.a.a@...il.com, kees@...nel.org,
maciej.wieczor-retman@...el.com, urezki@...il.com, will@...nel.org,
nick.desaulniers+lkml@...il.com, brgerst@...il.com, ubizjak@...il.com,
rppt@...nel.org, samitolvanen@...gle.com, thuth@...hat.com, mhocko@...e.com,
nathan@...nel.org, osandov@...com, thomas.lendacky@....com,
yeoreum.yun@....com, akpm@...ux-foundation.org, catalin.marinas@....com,
morbo@...gle.com, jackmanb@...gle.com, mingo@...hat.com, jpoimboe@...nel.org,
vbabka@...e.cz, corbet@....net, lorenzo.stoakes@...cle.com,
vincenzo.frascino@....com, luto@...nel.org, glider@...gle.com,
weixugc@...gle.com, axelrasmussen@...gle.com, samuel.holland@...ive.com,
kbingham@...nel.org, jeremy.linton@....com, kas@...nel.org, tglx@...nel.org,
ardb@...nel.org, peterz@...radead.org, hpa@...or.com, dvyukov@...gle.com,
yuanchu@...gle.com, leitao@...ian.org, david@...nel.org,
anshuman.khandual@....com, bp@...en8.de, Liam.Howlett@...cle.com,
kasan-dev@...glegroups.com, linux-kbuild@...r.kernel.org, x86@...nel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-mm@...ck.org
Subject: Re: [PATCH v9 00/13] kasan: x86: arm64: KASAN tag-based mode for x86
On Tue, Jan 20, 2026 at 3:40 PM Maciej Wieczor-Retman
<m.wieczorretman@...me> wrote:
>
> Maciej Wieczor-Retman (11):
> kasan: Fix inline mode for x86 tag-based mode
> x86/kasan: Add arch specific kasan functions
> x86/mm: Reset tag for virtual to physical address conversions
> mm/execmem: Untag addresses in EXECMEM_ROX related pointer arithmetic
> x86/mm: Use physical address comparisons in fill_p*d/pte
> x86/kasan: Initialize KASAN raw shadow memory
> x86/mm: Reset tags in a canonical address helper call
> x86/mm: Initialize LAM_SUP
> x86: Increase minimal SLAB alignment for KASAN
> x86/kasan: Use a logical bit shift for kasan_mem_to_shadow
> x86/kasan: Make software tag-based kasan available
>
> Samuel Holland (2):
> kasan: sw_tags: Use arithmetic shift for shadow computation
> kasan: arm64: x86: Make special tags arch specific
>
> Documentation/arch/arm64/kasan-offsets.sh | 8 ++-
> Documentation/arch/x86/x86_64/mm.rst | 10 ++-
Still missing Documentation/dev-tools/kasan.rst updates. Feel free to
send as a separate patch to avoid resending the whole series.
> MAINTAINERS | 4 +-
> arch/arm64/Kconfig | 10 +--
> arch/arm64/include/asm/kasan-tags.h | 14 ++++
> arch/arm64/include/asm/kasan.h | 7 +-
> arch/arm64/include/asm/memory.h | 14 +++-
> arch/arm64/include/asm/uaccess.h | 1 +
> arch/arm64/mm/Makefile | 2 +
> arch/arm64/mm/kasan_init.c | 7 +-
> arch/arm64/mm/kasan_sw_tags.c | 35 ++++++++++
> arch/x86/Kconfig | 4 ++
> arch/x86/boot/compressed/misc.h | 1 +
> arch/x86/include/asm/cache.h | 4 ++
> arch/x86/include/asm/kasan-tags.h | 9 +++
> arch/x86/include/asm/kasan.h | 79 ++++++++++++++++++++++-
> arch/x86/include/asm/page.h | 8 +++
> arch/x86/include/asm/page_64.h | 1 +
> arch/x86/kernel/head_64.S | 3 +
> arch/x86/mm/init.c | 3 +
> arch/x86/mm/init_64.c | 11 ++--
> arch/x86/mm/kasan_init_64.c | 24 ++++++-
> arch/x86/mm/maccess.c | 2 +-
> arch/x86/mm/physaddr.c | 2 +
> include/linux/kasan-tags.h | 21 ++++--
> include/linux/kasan.h | 13 ++--
> include/linux/mm.h | 6 +-
> include/linux/mmzone.h | 2 +-
> include/linux/page-flags-layout.h | 9 +--
> lib/Kconfig.kasan | 3 +-
> mm/execmem.c | 9 ++-
> mm/kasan/kasan.h | 7 ++
> mm/kasan/report.c | 15 ++++-
> mm/vmalloc.c | 7 +-
> scripts/Makefile.kasan | 3 +
> scripts/gdb/linux/kasan.py | 5 +-
> scripts/gdb/linux/mm.py | 5 +-
> 37 files changed, 312 insertions(+), 56 deletions(-)
> create mode 100644 arch/arm64/include/asm/kasan-tags.h
> create mode 100644 arch/arm64/mm/kasan_sw_tags.c
> create mode 100644 arch/x86/include/asm/kasan-tags.h
Powered by blists - more mailing lists