Re: [PATCH v2] target/riscv: fix VS interrupts forwarding to HS

2021-05-12 Thread Alistair Francis
On Tue, May 4, 2021 at 6:45 AM Jose Martins wrote: > > VS interrupts (2, 6, 10) were not correctly forwarded to hs-mode when > not delegated in hideleg (which was not being taken into account). This > was mainly because hs level sie was not always considered enabled when > it should. The spec

[PATCH v2] target/riscv: fix VS interrupts forwarding to HS

2021-05-03 Thread Jose Martins
VS interrupts (2, 6, 10) were not correctly forwarded to hs-mode when not delegated in hideleg (which was not being taken into account). This was mainly because hs level sie was not always considered enabled when it should. The spec states that "Interrupts for higher-privilege modes, y>x, are