Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: f2c17aa ("RISC-V: Implement compile-time fixed mappings") Reported-by: Syven Wang <[email protected]> Signed-off-by: Syven Wang <[email protected]> Signed-off-by: Greentime Hu <[email protected]> Reviewed-by: Anup Patel <[email protected]> [Palmer: Cleaned up the commit text] Signed-off-by: Palmer Dabbelt <[email protected]>
- Loading branch information