On Thu, Sep 2, 2021 at 7:42 PM Anup Patel <anup.pa...@wdc.com> wrote: > > The machine or device emulation should be able to force set certain > CPU features because: > 1) We can have certain CPU features which are in-general optional > but implemented by RISC-V CPUs on machine.
on the machine > 2) We can have devices which require certain CPU feature. For example, a certain > AIA IMSIC devices expects AIA CSRs implemented by RISC-V CPUs. expect > > Signed-off-by: Anup Patel <anup.pa...@wdc.com> > --- > target/riscv/cpu.c | 11 +++-------- > target/riscv/cpu.h | 5 +++++ > 2 files changed, 8 insertions(+), 8 deletions(-) > Otherwise, Reviewed-by: Bin Meng <bmeng...@gmail.com>