diff options
| author | Quan Zhou <[email protected]> | 2024-12-24 21:04:53 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-12-30 08:31:02 +0000 |
| commit | 51c58956732bb20c5782dea1b2966270827e3aa2 (patch) | |
| tree | d32e4898264f3e48579b50fd58cb6c34d4560d6b /net/unix/af_unix.c | |
| parent | KVM: riscv: selftests: Add Svvptc/Zabha/Ziccrse exts to get-reg-list test (diff) | |
| download | kernel-51c58956732bb20c5782dea1b2966270827e3aa2.tar.gz kernel-51c58956732bb20c5782dea1b2966270827e3aa2.zip | |
RISC-V: KVM: Redirect instruction access fault trap to guest
The M-mode redirects an unhandled instruction access
fault trap back to S-mode when not delegating it to
VS-mode(hedeleg). However, KVM running in HS-mode
terminates the VS-mode software when back from M-mode.
The KVM should redirect the trap back to VS-mode, and
let VS-mode trap handler decide the next step.
Signed-off-by: Quan Zhou <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
