Skip to content
Unverified Commit 21190b74 authored by Greentime Hu's avatar Greentime Hu Committed by Palmer Dabbelt
Browse files

riscv: Add sfence.vma after early page table changes

This invalidates local TLB after modifying the page tables during early init as
it's too early to handle suprious faults as we otherwise do.

Fixes: f2c17aab

 ("RISC-V: Implement compile-time fixed mappings")
Reported-by: default avatarSyven Wang <syven.wang@sifive.com>
Signed-off-by: default avatarSyven Wang <syven.wang@sifive.com>
Signed-off-by: default avatarGreentime Hu <greentime.hu@sifive.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
[Palmer: Cleaned up the commit text]
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 66d18dbd
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