Re: [PATCH v2 06/11] target/riscv/cpu.c: error out if EPMP is enabled without PMP

2023-02-15 Thread Bin Meng
On Wed, Feb 15, 2023 at 3:24 AM Daniel Henrique Barboza wrote: > > Instead of silently ignoring the EPMP setting if there is no PMP > available, error out informing the user that EPMP depends on PMP > support: > > $ ./qemu-system-riscv64 -cpu rv64,pmp=false,x-epmp=true > qemu-system-riscv64: Inval

[PATCH v2 06/11] target/riscv/cpu.c: error out if EPMP is enabled without PMP

2023-02-14 Thread Daniel Henrique Barboza
Instead of silently ignoring the EPMP setting if there is no PMP available, error out informing the user that EPMP depends on PMP support: $ ./qemu-system-riscv64 -cpu rv64,pmp=false,x-epmp=true qemu-system-riscv64: Invalid configuration: EPMP requires PMP support This will force users to pick sa