kasan: close vmap if enabled kasan [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Mon, 15 Jul 2019 05:53:42 +0000 (13:53 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 17 Jul 2019 03:07:44 +0000 (20:07 -0700)
PD#SWPL-10141

Problem:
if opened kasan with vmap, there will be some wrong kasan reports

Solution:
close vmap if open kasan

Verify:
p212

Change-Id: I37cdcb26cfb6fe87529db1ece3b7740ac072ba1a
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/amlogic/memory_ext/Kconfig

index ec29a6d..8bb640e 100644 (file)
@@ -55,7 +55,7 @@ config AMLOGIC_KASAN32
 config AMLOGIC_VMAP
        bool "Amlogic kernel stack"
        depends on AMLOGIC_MEMORY_EXTEND
-       depends on ARM64 || !KASAN
+       depends on !KASAN
        default y
        help
                This config is used to enable amlogic kernel stack