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

csky: Fix TLB maintenance synchronization problem



TLB invalidate didn't contain a barrier operation in csky cpu and
we need to prevent previous PTW response after TLB invalidation
instruction. Of cause, the ASID changing also needs to take care
of the issue.

CPU0                    CPU1
===============         ===============
set_pte
sync_is()        ->     See the previous set_pte for all harts
tlbi.vas         ->     Invalidate all harts TLB entry & flush pipeline

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
parent 719ae020
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