First of all, it's great to see MMU support. I look forward to testing this
patch set and reporting back as it ties in well with the OpRom emulation work
we've been doing.
Why default to Sv39? Why not probe and set up the max mode allowable by the
hardware? The overhead for doing so is minimal,
As MMU will be enabled in CpuDxe, remove the code that set up satp
mode in SEC phase.
Enable SV39 as default mode.
Signed-off-by: Tuan Phan
---
OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc | 1 +
OvmfPkg/RiscVVirt/Sec/Memory.c | 17 -
2 files changed, 1 insertion(+), 17 deletions(-