diff options
author | Dylan Reid | 2022-05-06 18:54:57 +0200 |
---|---|---|
committer | Alistair Francis | 2022-05-24 01:48:20 +0200 |
commit | d6cd3ae0ebdfab9922f932dc303e1faa618ea547 (patch) | |
tree | ff9c09223cdce27f7a79b561c7a5d3dca5811ed0 /hw/sparc64 | |
parent | Merge tag 'pull-request-2022-05-18' of https://gitlab.com/thuth/qemu into sta... (diff) | |
download | qemu-d6cd3ae0ebdfab9922f932dc303e1faa618ea547.tar.gz qemu-d6cd3ae0ebdfab9922f932dc303e1faa618ea547.tar.xz qemu-d6cd3ae0ebdfab9922f932dc303e1faa618ea547.zip |
target/riscv: Fix VS mode hypervisor CSR access
VS mode access to hypervisor CSRs should generate virtual, not illegal,
instruction exceptions.
Don't return early and indicate an illegal instruction exception when
accessing a hypervisor CSR from VS mode. Instead, fall through to the
`hmode` predicate to return the correct virtual instruction exception.
Signed-off-by: Dylan Reid <dgreid@rivosinc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220506165456.297058-1-dgreid@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/sparc64')
0 files changed, 0 insertions, 0 deletions