Re: [PATCH 2/2] target/riscv: remove force HS exception

2021-06-10 Thread Alistair Francis
On Thu, Jun 3, 2021 at 5:12 AM Jose Martins wrote: > > There is no need to "force an hs exception" as the current privilege > level, the state of the global ie and of the delegation registers should > be enough to route the interrupt to the appropriate privilege level in > riscv_cpu_do_interrupt.

[PATCH 2/2] target/riscv: remove force HS exception

2021-06-02 Thread Jose Martins
There is no need to "force an hs exception" as the current privilege level, the state of the global ie and of the delegation registers should be enough to route the interrupt to the appropriate privilege level in riscv_cpu_do_interrupt. The is true for both asynchronous and synchronous exceptions,