mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
ba5cfe4dbd
PD#SWPL-225609 Problem: If enabled 32bit kasan on T5W with VMAP, kernel can not boot. This case can not happen on T5D. Solution: Rootcause is bss cleared but real data keeps in cache, not flushed into DDR, and physical kasan shadow page soon be mapped to shadow memory while in shadow virtual address we see random data, which caused kasan check failed in vmap fixup function and crashed. So just add a dcache flush function call after bss cleared. Verify: T5W Change-Id: I864e4d29e75ef3b55fd39b3d76734ff0fbced908 Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>