diff options
author | Clément Léger <cleger@rivosinc.com> | 2025-04-22 18:23:09 +0200 |
---|---|---|
committer | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-05-08 12:00:36 +0000 |
commit | 453805f0a28fc5091e46145e6560c776f7c7a611 (patch) | |
tree | 4d7a788d411b15219ee1d1ee09b457ccb773a7c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fd94de9f9e7aac11ec659e386b9db1203d502023 (diff) |
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: b686ecdeacf6 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions