diff options
author | Quan Zhou <zhouquan@iscas.ac.cn> | 2024-12-25 00:04:53 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-12-30 11:31:02 +0300 |
commit | 51c58956732bb20c5782dea1b2966270827e3aa2 (patch) | |
tree | d32e4898264f3e48579b50fd58cb6c34d4560d6b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 144dfe4017bfe13cc2d459c2c4a7a4dc832c100c (diff) | |
download | linux-51c58956732bb20c5782dea1b2966270827e3aa2.tar.xz |
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 <zhouquan@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20241224-kvm_guest_stat-v2-1-08a77ac36b02@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions