diff options
| author | dramforever <[email protected]> | 2022-06-09 15:07:30 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-06-21 08:31:14 +0530 |
| commit | 187127fb89b99790793d4b2663286371b59021ae (patch) | |
| tree | a11df812442204a2873b7bb9016c0be9d59f6833 /lib/utils/timer/fdt_timer_mtimer.c | |
| parent | 551c70c0405b98ae75698d1674c9e0e09fdc6e01 (diff) | |
lib: sbi: Fixup tinst for exceptions in sbi_misaligned_*()
If there is an exception while emulating a misaligned load/store, fixup
uptrap.tinst before redirecting. Otherwise, HS-mode software may receive
an htinst describing the lbu/sb instruction that faulted during
emulation[1].
[1]: https://github.com/riscv-software-src/opensbi/issues/258
Signed-off-by: dramforever <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions
