Skip to content
Commit 0602ae72 authored by Guo Ren's avatar Guo Ren
Browse files

csky: pgtable: Fixup update_mmu_cache for abiv2



The csky instruction cache is VIPT, and it needs an origin virtual
address to invalidate the virtual address index entries of cache ways.
The current implementation uses a temporary mapping mechanism -
kmap_atomic, which returns a fake virtual address for invalidation. The
original virtual address cache line may still be in the icache.

So correct icache invalidation arguments by origin virtual address
instead of kmap_atomic returned value.

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
parent 650c159a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment