[PATCH 0/3] Fixes for tval/tinst when using sbi_trap_redirect()
Anup Patel
apatel at ventanamicro.com
Thu Jun 9 05:13:33 PDT 2022
On Thu, Jun 9, 2022 at 5:36 PM dram <dramforever at live.com> wrote:
>
>
> >> Note that these patches are *UNTESTED*.
> >>
> >> - For the htinst fixes, no current implementation (QEMU or Spike) of the
> >> hypervisor extension writes mtinst/htinst to non-zero values, so the
> >> code paths are unused.
> > Can you test this series with QEMU nested virtualization fixes which
> > include mtinst/htinst emulation ?
> > https://lore.kernel.org/all/20220609033011.752714-1-apatel@ventanamicro.com/
> I just realized that QEMU does not raise misaligned exceptions, so even with
> these patches we still couldn't test the sbi_misaligned_*() patch. Do you have
> suggestions on how we can test misaligned load/store emulation?
Spike does raise misaligned load/store exceptions so we need to add
htinst/mtinst support in Spike to test this.
Regards,
Anup
>
>
More information about the opensbi
mailing list