diff options
| author | Zhe Qiao <[email protected]> | 2024-07-31 08:45:47 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-08-01 14:15:27 +0000 |
| commit | 0c710050c47d45eb77b28c271cddefc5c785cb40 (patch) | |
| tree | 693bf290fb89344562665ebc25f5d6b1fb66e3a8 /rust/helpers | |
| parent | perf: riscv: Fix selecting counters in legacy mode (diff) | |
| download | kernel-0c710050c47d45eb77b28c271cddefc5c785cb40.tar.gz kernel-0c710050c47d45eb77b28c271cddefc5c785cb40.zip | |
riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
Handle VM_FAULT_SIGSEGV in the page fault path so that we correctly
kill the process and we don't BUG() the kernel.
Fixes: 07037db5d479 ("RISC-V: Paging and MMU")
Signed-off-by: Zhe Qiao <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
