diff options
author | Jose Martins <josemartins90@gmail.com> | 2021-10-26 15:51:26 +0100 |
---|---|---|
committer | Alistair Francis <alistair@alistair23.me> | 2021-10-29 16:54:45 +1000 |
commit | 50d160876414e91e51ac718ac6edea6dbadf4694 (patch) | |
tree | 1530ca6d918f2d8fb1fc5e089685e29f0440141c /fpu | |
parent | 487a99551ae903fc83a878d4cbc6d853e17ad252 (diff) |
target/riscv: remove force HS exception
There is no need to "force an hs exception" as the current privilege
level, the state of the global ie and of the delegation registers should
be enough to route the interrupt to the appropriate privilege level in
riscv_cpu_do_interrupt. The is true for both asynchronous and
synchronous exceptions, specifically, guest page faults which must be
hardwired to zero hedeleg. As such the hs_force_except mechanism can be
removed.
Signed-off-by: Jose Martins <josemartins90@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20211026145126.11025-3-josemartins90@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions