Re: [PATCH v8 5/5] riscv: Correctly set the device-tree entry 'mmu-type'

2023-01-29 Thread Bin Meng
On Thu, Jan 26, 2023 at 12:25 AM Alexandre Ghiti wrote: > > The 'mmu-type' should reflect what the hardware is capable of so use the > new satp_mode field in RISCVCPUConfig to do that. > > Signed-off-by: Alexandre Ghiti > Reviewed-by: Andrew Jones > Reviewed-by: Alistair Francis > --- >

[PATCH v8 5/5] riscv: Correctly set the device-tree entry 'mmu-type'

2023-01-25 Thread Alexandre Ghiti
The 'mmu-type' should reflect what the hardware is capable of so use the new satp_mode field in RISCVCPUConfig to do that. Signed-off-by: Alexandre Ghiti Reviewed-by: Andrew Jones Reviewed-by: Alistair Francis --- hw/riscv/virt.c | 19 ++- 1 file changed, 10 insertions(+), 9