SUM bit in Supervisor Status Register

Bonus Holiday @risc_v Tip:

If the SUM bit in the sstatus CSR is 0, a PTE with U=1 means the page is not accessible from Supervisor (S) mode. If SUM=1, supervisor access is permitted. A supervisor may never execute code from a page accessible from User (U) mode.

Original Tweet