mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
447b6feeef
PD#SWPL-80202 Problem: If enabled 32bit kasan on T5W with VMAP, kernel can't boot. This case can't 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: If9834d3ebe8457fa4ef06e596ed0e136cf5cdd84 Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>