diff options
author | Greentime Hu | 2020-08-04 11:02:05 +0800 |
---|---|---|
committer | Palmer Dabbelt | 2020-09-19 13:20:13 -0700 |
commit | 21190b74bcf3a36ebab9a715088c29f59877e1f3 (patch) | |
tree | fd2ce5fbb9a61b9d94934a205e77b8130fcb6fc9 /arch/hexagon | |
parent | 66d18dbda8469a944dfec6c49d26d5946efba218 (diff) |
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: f2c17aabc917 ("RISC-V: Implement compile-time fixed mappings")
Reported-by: Syven Wang <syven.wang@sifive.com>
Signed-off-by: Syven Wang <syven.wang@sifive.com>
Signed-off-by: Greentime Hu <greentime.hu@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
[Palmer: Cleaned up the commit text]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions