Re: [RESEND PATCH v2] arm/mm/ptdump:Add address markers for KASAN regions

From: carver4lio
Date: Tue Jan 26 2021 - 09:43:26 EST


On 1/21/21 4:36 PM, Linus Walleij wrote:
> On Wed, Jan 20, 2021 at 1:54 PM Hailong liu <carver4lio@xxxxxxx> wrote:
>
>> From: Hailong Liu <liu.hailong6@xxxxxxxxxx>
>>
>> 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.hailong6@xxxxxxxxxx>
>
> Looks correct!
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> Please put this into Russell's patch tracker.

I have put this patch into Russell's patch tracker, and its status now is
incoming.