This series of patches adds LCOFI delegation from HS-mode to VS-mode. This possibility must be implemented, as in the AIA spec in section 6.3.2 it is indicated in table 6.1 that in the case when the hideleg bit is set, the corresponding vsip bit is an alias to the corresponding sip bit, also for enable registers.
Vadim Shakirov (2): target/riscv/csr: Rename groups of interrupts target/riscv/csr: Added the ability to delegate LCOFI to VS target/riscv/csr.c | 50 ++++++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 17 deletions(-) -- 2.34.1
