riscv / riscv-aia

https://jira.riscv.org/browse/RVG-59
Creative Commons Attribution 4.0 International
72 stars 18 forks source link

What's the value of stopi.IPRIO when using mvien and mvip to generate a SEI that traps to S mode? #91

Open zhuotianshu opened 1 month ago

zhuotianshu commented 1 month ago

And what's the value of stopi.IPRIO when software setting mip.SEIP and mideleg.SEI to generate SEI to S mode? Should it be the value of stopei.Interrupt_priority, or the value of M mode iprio2[15:8](in RV64), or some fixed value, like 256 in vs situation?