You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we inject S-mode external interrupt (SEI) with virtual interrupts mechanism (mvien & mvip) we need to know it's priority
to put it to stopi.IPRIO
to use it for S-mode interrupt arbitration (if several interrupts are pending in sip register)
If we inject SEI interrupt we can't get its priority from IMSIC HW and we can't get its priority from S-mode iprio array (as iprio.SEI (bits 15:8 of iprio2) must be read-only zero).
For other S-mode interrupts the AIA spec defines algorithm to determine priority if corresponding field is 0 in S-mode iprio array:
However such rules can't be used for SEI as it only covers the cases when default priority is either lower or higher than SEI (which is not true if we are checking about SEI itself)
So, what is the rule for SEI interrupt priority in case of injection?
The text was updated successfully, but these errors were encountered:
If we inject S-mode external interrupt (SEI) with virtual interrupts mechanism (
mvien
&mvip
) we need to know it's prioritystopi.IPRIO
sip
register)If we inject SEI interrupt we can't get its priority from IMSIC HW and we can't get its priority from S-mode iprio array (as
iprio.SEI
(bits 15:8 of iprio2) must be read-only zero).For other S-mode interrupts the AIA spec defines algorithm to determine priority if corresponding field is 0 in S-mode iprio array:
However such rules can't be used for SEI as it only covers the cases when default priority is either lower or higher than SEI (which is not true if we are checking about SEI itself)
So, what is the rule for SEI interrupt priority in case of injection?
The text was updated successfully, but these errors were encountered: