ecall
The RISC-V instruction that deliberately traps in order to ask a more privileged level for help.
It takes no operands. What is being asked for is down to register conventions: under Linux the system call number goes in a7 and the arguments in a0–a5. From S-mode, the same instruction goes up to machine mode instead, where OpenSBI reads a7 as an extension ID and a6 as a function — which is how Linux on RISC-V programs its timer or writes to an early console.
The cause code in mcause distinguishes calls from U-, S- and M-mode. Its sibling ebreak raises a breakpoint exception instead and is what debuggers use. Arm's Cortex-M equivalent is SVC, which differs by carrying a small number baked into the instruction itself.