[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220118094450.7730-1-lecopzer.chen@mediatek.com>
Date: Tue, 18 Jan 2022 17:44:48 +0800
From: Lecopzer Chen <lecopzer.chen@...iatek.com>
To: <linux-kernel@...r.kernel.org>
CC: Russell King <linux@...linux.org.uk>,
Andrey Ryabinin <ryabinin.a.a@...il.com>,
Alexander Potapenko <glider@...gle.com>,
"Andrey Konovalov" <andreyknvl@...il.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Linus Walleij <linus.walleij@...aro.org>,
<rmk+kernel@...linux.org.uk>,
"Geert Uytterhoeven" <geert+renesas@...der.be>,
Ard Biesheuvel <ardb@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Anshuman Khandual <anshuman.khandual@....com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Masahiro Yamada <masahiroy@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<kasan-dev@...glegroups.com>, <yj.chiang@...iatek.com>,
Lecopzer Chen <lecopzer@...il.com>
Subject: [PATCH 0/2] arm: kasan: support CONFIG_KASAN_VMALLOC
From: Lecopzer Chen <lecopzer@...il.com>
Since the framework of KASAN_VMALLOC is well-developed,
It's easy to support for ARM that simply not to map shadow of VMALLOC
area on kasan_init.
This can fix ARM_MODULE_PLTS with KASAN and provide first step
to support CONFIG_VMAP_STACK in ARM.
Patch base on v5.16
Test on
1. Qemu with memory 2G and vmalloc=500M for 3G/1G mapping.
2. Qemu with memory 2G and vmalloc=500M for 3G/1G mapping + LPAE.
3. Qemu with memory 2G and vmalloc=500M for 2G/2G mapping.
Lecopzer Chen (2):
arm: kasan: support CONFIG_KASAN_VMALLOC
arm: kconfig: fix MODULE_PLTS for KASAN with KASAN_VMALLOC
arch/arm/Kconfig | 2 ++
arch/arm/mm/kasan_init.c | 6 +++++-
2 files changed, 7 insertions(+), 1 deletion(-)
--
2.25.1
Powered by blists - more mailing lists