Files
kernel_common_drivers/auto_patch
Jianxiong Pan 447b6feeef mm: autopatch: fix 32bit kasan cant boot on T5W [1/1]
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>
2023-12-25 02:26:20 -07:00
..