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

2021-10-26 Thread Alistair Francis
On Wed, Oct 27, 2021 at 12:53 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 st

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

2021-10-26 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 alway