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

carver4lio at 163.com carver4lio at 163.com
Tue Jan 26 09:38:30 EST 2021


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

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





More information about the linux-arm-kernel mailing list