From: Andrey Konovalov <andreyknvl@gmail.com>
To: Maciej Wieczor-Retman <m.wieczorretman@pm.me>
Cc: chleroy@kernel.org, surenb@google.com, justinstitt@google.com,
nsc@kernel.org, jan.kiszka@siemens.com, trintaeoitogc@gmail.com,
dave.hansen@linux.intel.com, ryabinin.a.a@gmail.com,
kees@kernel.org, maciej.wieczor-retman@intel.com,
urezki@gmail.com, will@kernel.org,
nick.desaulniers+lkml@gmail.com, brgerst@gmail.com,
ubizjak@gmail.com, rppt@kernel.org, samitolvanen@google.com,
thuth@redhat.com, mhocko@suse.com, nathan@kernel.org,
osandov@fb.com, thomas.lendacky@amd.com, yeoreum.yun@arm.com,
akpm@linux-foundation.org, catalin.marinas@arm.com,
morbo@google.com, jackmanb@google.com, mingo@redhat.com,
jpoimboe@kernel.org, vbabka@suse.cz, corbet@lwn.net,
lorenzo.stoakes@oracle.com, vincenzo.frascino@arm.com,
luto@kernel.org, glider@google.com, weixugc@google.com,
axelrasmussen@google.com, samuel.holland@sifive.com,
kbingham@kernel.org, jeremy.linton@arm.com, kas@kernel.org,
tglx@kernel.org, ardb@kernel.org, peterz@infradead.org,
hpa@zytor.com, dvyukov@google.com, yuanchu@google.com,
leitao@debian.org, david@kernel.org, anshuman.khandual@arm.com,
bp@alien8.de, Liam.Howlett@oracle.com,
kasan-dev@googlegroups.com, linux-kbuild@vger.kernel.org,
x86@kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org
Subject: Re: [PATCH v9 00/13] kasan: x86: arm64: KASAN tag-based mode for x86
Date: Tue, 20 Jan 2026 18:54:48 +0100 [thread overview]
Message-ID: <CA+fCnZf+U3RhmMeGxQ-UypJw2yGd8RJ0gFKrCXsC1eQ5YO-eXw@mail.gmail.com> (raw)
In-Reply-To: <cover.1768845098.git.m.wieczorretman@pm.me>
On Tue, Jan 20, 2026 at 3:40 PM Maciej Wieczor-Retman
<m.wieczorretman@pm.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
next prev parent reply other threads:[~2026-01-20 17:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 14:40 Maciej Wieczor-Retman
2026-01-20 14:41 ` [PATCH v9 01/13] kasan: sw_tags: Use arithmetic shift for shadow computation Maciej Wieczor-Retman
2026-01-20 14:41 ` [PATCH v9 02/13] kasan: arm64: x86: Make special tags arch specific Maciej Wieczor-Retman
2026-01-20 14:41 ` [PATCH v9 04/13] x86/kasan: Add arch specific kasan functions Maciej Wieczor-Retman
2026-01-20 14:41 ` [PATCH v9 06/13] mm/execmem: Untag addresses in EXECMEM_ROX related pointer arithmetic Maciej Wieczor-Retman
2026-01-22 10:32 ` Mike Rapoport
2026-01-23 9:37 ` Maciej Wieczor-Retman
2026-01-20 17:54 ` Andrey Konovalov [this message]
2026-01-20 19:18 ` [PATCH v9 00/13] kasan: x86: arm64: KASAN tag-based mode for x86 Maciej Wieczor-Retman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+fCnZf+U3RhmMeGxQ-UypJw2yGd8RJ0gFKrCXsC1eQ5YO-eXw@mail.gmail.com \
--to=andreyknvl@gmail.com \
--cc=Liam.Howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=ardb@kernel.org \
--cc=axelrasmussen@google.com \
--cc=bp@alien8.de \
--cc=brgerst@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=chleroy@kernel.org \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=david@kernel.org \
--cc=dvyukov@google.com \
--cc=glider@google.com \
--cc=hpa@zytor.com \
--cc=jackmanb@google.com \
--cc=jan.kiszka@siemens.com \
--cc=jeremy.linton@arm.com \
--cc=jpoimboe@kernel.org \
--cc=justinstitt@google.com \
--cc=kas@kernel.org \
--cc=kasan-dev@googlegroups.com \
--cc=kbingham@kernel.org \
--cc=kees@kernel.org \
--cc=leitao@debian.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=lorenzo.stoakes@oracle.com \
--cc=luto@kernel.org \
--cc=m.wieczorretman@pm.me \
--cc=maciej.wieczor-retman@intel.com \
--cc=mhocko@suse.com \
--cc=mingo@redhat.com \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=nsc@kernel.org \
--cc=osandov@fb.com \
--cc=peterz@infradead.org \
--cc=rppt@kernel.org \
--cc=ryabinin.a.a@gmail.com \
--cc=samitolvanen@google.com \
--cc=samuel.holland@sifive.com \
--cc=surenb@google.com \
--cc=tglx@kernel.org \
--cc=thomas.lendacky@amd.com \
--cc=thuth@redhat.com \
--cc=trintaeoitogc@gmail.com \
--cc=ubizjak@gmail.com \
--cc=urezki@gmail.com \
--cc=vbabka@suse.cz \
--cc=vincenzo.frascino@arm.com \
--cc=weixugc@google.com \
--cc=will@kernel.org \
--cc=x86@kernel.org \
--cc=yeoreum.yun@arm.com \
--cc=yuanchu@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox