arm: kasan: support CONFIG_KASAN_VMALLOC
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 2 repliesIn review
- v42 patches 0 repliesSuperseded
- v32 patches 5 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 2 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
rebase on 5.18-rc4
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm: kasan: support CONFIG_KASAN_VMALLOCarch/ arch/ | +6 | 0 replies | |
| 2/2 | arm: kconfig: fix MODULE_PLTS for KASAN with KASAN_VMALLOCarch/ | +1 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Linus Walleij |
|---|---|
| 1/2 | T-b R-b |
| 2/2 | T-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/2] arm: kasan: support CONFIG_KASAN_VMALLOC
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.
Since the virtual address of vmalloc for Arm is also between MODULE_VADDR and 0x100000000 (ZONE_HIGHMEM), which means the shadow address has already included between KASAN_SHADOW_START and KASAN_SHADOW_END.
Thus we need to change nothing for memory map of Arm.
This can fix ARM_MODULE_PLTS with KASan, support KASan for higmem and support CONFIG_VMAP_STACK with KASan.
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.
v5:
rebase on 5.18-rc4
v4:
rebase on 5.17-rc8.
remove simple doc for "arm: kasan: support CONFIG_KASAN_VMALLOC" rewrite the description for VMAP_STACK
https://lore.kernel.org/lkml/[email protected]/
v3:
rebase on 5.17-rc5.
Add simple doc for "arm: kasan: support CONFIG_KASAN_VMALLOC" Tweak commit message.
https://lore.kernel.org/lkml/[email protected]/
v2:
rebase on 5.17-rc3
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(-)
Signature · 7 lines
2.18.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel