On Wed, Jan 20, 2021 at 1:54 PM Hailong liu <carver4...@163.com> wrote:
> From: Hailong Liu <liu.hailo...@zte.com.cn> > > ARM has recently supported KASAN, so I think that it's time to add KASAN > regions for PTDUMP on ARM. > > I have tested this patch with QEMU + vexpress-a15. Both CONFIG_ARM_LPAE > and no CONFIG_ARM_LPAE. > > The result after patching looks like this: > ---[ Kasan shadow start ]--- > 0x6ee00000-0x7af00000 193M RW NX SHD MEM/CACHED/WBWA > 0x7b000000-0x7f000000 64M ro NX SHD MEM/CACHED/WBWA > ---[ Kasan shadow end ]--- > ---[ Modules ]--- > ---[ Kernel Mapping ]--- > ...... > ---[ vmalloc() Area ]--- > ...... > ---[ vmalloc() End ]--- > ---[ Fixmap Area ]--- > ---[ Vectors ]--- > ...... > ---[ Vectors End ]--- > > v2: > - fix the puzzling subject and the description due to my > carelessness. > > Signed-off-by: Hailong Liu <liu.hailo...@zte.com.cn> Looks correct! Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Please put this into Russell's patch tracker. Yours, Linus Walleij