diff options
author | Alistair Francis <alistair23@gmail.com> | 2024-01-08 10:13:27 +1000 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-01-10 18:47:47 +1000 |
commit | 1525d8aa3a56610e1c72f5dd305ec86ebad41769 (patch) | |
tree | 4a2203e04ebb50a41be818b8ebbc0c57968130b1 /module-common.c | |
parent | 9a7c6da4cd8458c76f619d84542f91d308ecb15f (diff) |
target/riscv: Don't adjust vscause for exceptions
We have been incorrectly adjusting both the interrupt and exception
cause when using the hypervisor extension and trapping to VS-mode. This
patch changes the conditional to ensure we only adjust the cause for
interrupts and not exceptions.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1708
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20240108001328.280222-3-alistair.francis@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions