Open christian-herber-nxp opened 1 month ago
I overlooked the following note:
For security purpose, the mode field can only be set to a privilege mode that is equal to or lower than the currently running privilege mode and if interrupts are supported at that privilege mode (e.g. ssclic extension).
This should not be a note, but part of the normative spec.
Looks like a security hole to me. If M-mode assign an interrupt to S-mode, it does not sound ok for S-mode to throw that back. Seems like an easy way to corrupt M-mode.
I would suggest adding something along the lines of:
(Please help me with the language)