diff options
author | Zhe Qiao <qiaozhe@iscas.ac.cn> | 2024-07-31 16:45:47 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-08-01 07:15:27 -0700 |
commit | 0c710050c47d45eb77b28c271cddefc5c785cb40 (patch) | |
tree | 693bf290fb89344562665ebc25f5d6b1fb66e3a8 /samples/hid | |
parent | 941a8e9b7a86763ac52d5bf6ccc9986d37fde628 (diff) |
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 <qiaozhe@iscas.ac.cn>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240731084547.85380-1-qiaozhe@iscas.ac.cn
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'samples/hid')
0 files changed, 0 insertions, 0 deletions