diff options
author | Greentime Hu <greentime.hu@sifive.com> | 2020-08-04 11:02:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-23 12:59:58 +0200 |
commit | 4278efd55e0446dc92a9c20f8d8e3a5564667ca5 (patch) | |
tree | eec1caf6d3e8e3c7a3ad0065e814bb80b0a49203 /net | |
parent | a7e4fef638460a0c6142454c5ccba7a185e9cdb5 (diff) |
riscv: Add sfence.vma after early page table changes
[ Upstream commit 21190b74bcf3a36ebab9a715088c29f59877e1f3 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions