diff options
author | Andy Chiu <[email protected]> | 2023-01-27 11:28:55 +0530 |
---|---|---|
committer | Anup Patel <[email protected]> | 2023-02-07 20:35:28 +0530 |
commit | cdeb59bbf19f456253fd257c744b8383f972cf1e (patch) | |
tree | 6c32c0eecab36bcf6bf2da7f01174928e46363ba /tools/perf/scripts/python | |
parent | 06723e124fcbf63a1848c692fad17a023cad5ebc (diff) |
RISC-V: KVM: Redirect illegal instruction traps to guest
The M-mode redirects an unhandled illegal instruction trap back
to S-mode. However, KVM running in HS-mode terminates the VS-mode
software when it receives illegal instruction trap. Instead, KVM
should redirect the illegal instruction trap back to VS-mode, and
let VS-mode trap handler decide the next step. This futher allows
guest kernel to implement on-demand enabling of vector extension
for a guest user space process upon first-use.
Signed-off-by: Andy Chiu <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions