riscv: misaligned: enable IRQs while handling misaligned accesses
We can safely reenable IRQs if coming from userspace. This allows to access user memory that could potentially trigger a page fault. Fixes: b686ecde ("riscv: misaligned: Restrict user access to kernel memory") Signed-off-by:Clément Léger <cleger@rivosinc.com> Reviewed-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20250422162324.956065-3-cleger@rivosinc.com Signed-off-by:
Alexandre Ghiti <alexghiti@rivosinc.com>
Loading
Please register or sign in to comment