Re: [PATCH v8 4/5] riscv: Introduce satp mode hw capabilities

2023-01-31 Thread Alexandre Ghiti
On Mon, Jan 30, 2023 at 5:29 AM Bin Meng wrote: > > On Thu, Jan 26, 2023 at 12:24 AM Alexandre Ghiti > wrote: > > > > Currently, the max satp mode is set with the only constraint that it must be > > implemented in qemu, i.e. set in valid_vm_1_10_[32|64]. > > nits: s/qemu/QEMU/g Ok > > > > >

Re: [PATCH v8 4/5] riscv: Introduce satp mode hw capabilities

2023-01-29 Thread Bin Meng
On Thu, Jan 26, 2023 at 12:24 AM Alexandre Ghiti wrote: > > Currently, the max satp mode is set with the only constraint that it must be > implemented in qemu, i.e. set in valid_vm_1_10_[32|64]. nits: s/qemu/QEMU/g > > But we actually need to add another level of constraint: what the hw is >

[PATCH v8 4/5] riscv: Introduce satp mode hw capabilities

2023-01-25 Thread Alexandre Ghiti
Currently, the max satp mode is set with the only constraint that it must be implemented in qemu, i.e. set in valid_vm_1_10_[32|64]. But we actually need to add another level of constraint: what the hw is actually capable of, because currently, a linux booting on a sifive-u54 boots in sv57 mode