kasan: fix panic issue when open kasan with vmap stack [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Mon, 24 Jun 2019 10:39:48 +0000 (18:39 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 24 Jun 2019 11:53:54 +0000 (04:53 -0700)
commitfb499700c3e63ef2998ce8bc60d22769f60d0952
tree0a721c73a13268490f50f94fdb4cbb3bb109bc66
parentdfeba1febccbd7f71c905241572bf120d84c4902
kasan: fix panic issue when open kasan with vmap stack [1/1]

PD#SWPL-10141

Problem:
When open kasan with vmap stack on ARM32 platform, there
will be a panic issue which pc is running out of range:
[ 56.726530@2] PC is at 0x50
[ 56.729301@2] LR is at 0x0

Solution:
Close kasan when open vmap stack on ARM32

Verify:
TL1

Change-Id: Id82eb27543e8eade86b281cde9e160b8bf4e7878
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
arch/arm/include/asm/memory.h
arch/arm/kernel/Makefile
drivers/amlogic/memory_ext/Kconfig