summaryrefslogtreecommitdiffstats
path: root/pc-bios
diff options
context:
space:
mode:
authorAlistair Francis2020-01-21 06:36:57 +0100
committerPalmer Dabbelt2020-03-17 01:03:13 +0100
commited5abf46b3c414ef58e647145f19b3966700b206 (patch)
tree118e2d70b680eda5c99f5ecdc0c43414988b8f4c /pc-bios
parentMerge remote-tracking branch 'remotes/kraxel/tags/vga-20200316-pull-request' ... (diff)
downloadqemu-ed5abf46b3c414ef58e647145f19b3966700b206.tar.gz
qemu-ed5abf46b3c414ef58e647145f19b3966700b206.tar.xz
qemu-ed5abf46b3c414ef58e647145f19b3966700b206.zip
target/riscv: Correctly implement TSR trap
As reported in: https://bugs.launchpad.net/qemu/+bug/1851939 we weren't correctly handling illegal instructions based on the value of MSTATUS_TSR and the current privledge level. This patch fixes the issue raised in the bug by raising an illegal instruction if TSR is set and we are in S-Mode. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Jonathan Behrens <jonathan@fintelia.io Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions