riscv: uaccess: Only restore the CSR_STATUS SUM bit
During switch to csrs will OR the value of the register into the corresponding csr. In this case we're only interested in restoring the SUM bit not the entire register. Signed-off-by:Cyril Bur <cyrilbur@tenstorrent.com> Link: https://lore.kernel.org/r/20250522160954.429333-1-cyrilbur@tenstorrent.com Co-developed-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Fixes: 788aa64c ("riscv: save the SR_SUM status over switches") Link: https://lore.kernel.org/r/20250602121543.1544278-1-alexghiti@rivosinc.com Signed-off-by:
Palmer Dabbelt <palmer@dabbelt.com>
Loading
Please register or sign in to comment