RISCV_V_CTX_DEPTH_MASK
WARN_ON(prev->thread.riscv_v_flags & RISCV_V_CTX_DEPTH_MASK);
return *riscv_v_flags_ptr() & RISCV_V_CTX_DEPTH_MASK;