Re: [PATCH v2 10/18] target/riscv/kvm.c: init 'misa_ext_mask' with scratch CPU

2023-06-21 Thread Alistair Francis
On Wed, Jun 14, 2023 at 7:00 AM Daniel Henrique Barboza wrote: > > At this moment we're retrieving env->misa_ext during > kvm_arch_init_cpu(), leaving env->misa_ext_mask behind. > > We want to set env->misa_ext_mask, and we want to set it as early as > possible. The reason is that we're going to u

[PATCH v2 10/18] target/riscv/kvm.c: init 'misa_ext_mask' with scratch CPU

2023-06-13 Thread Daniel Henrique Barboza
At this moment we're retrieving env->misa_ext during kvm_arch_init_cpu(), leaving env->misa_ext_mask behind. We want to set env->misa_ext_mask, and we want to set it as early as possible. The reason is that we're going to use it in the validation process of the KVM MISA properties we're going to a