diff options
author | Yu-Wei Hsu <betterman5240@gmail.com> | 2024-04-29 12:21:13 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-06-26 16:07:41 +0300 |
commit | e325618349cdc1fbbe63574080249730e7cff9ea (patch) | |
tree | 6d03fc8ca85fa152abd3280befc922baadf5f1a4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | da7b1b525e972b8c5b16640fa5b2ff2497b5c652 (diff) | |
download | linux-e325618349cdc1fbbe63574080249730e7cff9ea.tar.xz |
RISC-V: KVM: Redirect AMO load/store access fault traps to guest
The KVM RISC-V does not delegate AMO load/store access fault traps to
VS-mode (hedeleg) so typically M-mode takes these traps and redirects
them back to HS-mode. However, upon returning from M-mode, the KVM
RISC-V running in HS-mode terminates VS-mode software.
The KVM RISC-V should redirect AMO load/store access fault traps back
to VS-mode and let the VS-mode trap handler determine the next steps.
Signed-off-by: Yu-Wei Hsu <betterman5240@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20240429092113.70695-1-betterman5240@gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions