Unverified Commit 4df0c944 authored by Anup Patel's avatar Anup Patel Committed by Scott Johnson
Browse files

Fix hgatp CSR write

The write mask is incorrectly computed by hgatp_csr_t::unlogged_write()
which leads to hgatp.PPN bits not getting updated upon hgatp CSR write.

This patch fixes hgatp CSR writes and gets KVM RISC-V working again
on Spike.

Fixes: 70b7e9ca

 ("mmu: support asid/vmid (#928)")
Signed-off-by: default avatarAnup Patel <anup@brainfault.org>
parent 0f15aa09
Supports Markdown
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