diff options
author | dramforever <dramforever@live.com> | 2022-06-09 15:07:30 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-06-21 08:31:14 +0530 |
commit | 187127fb89b99790793d4b2663286371b59021ae (patch) | |
tree | a11df812442204a2873b7bb9016c0be9d59f6833 /scripts/Kconfiglib/kconfiglib.py | |
parent | 551c70c0405b98ae75698d1674c9e0e09fdc6e01 (diff) | |
download | opensbi-187127fb89b99790793d4b2663286371b59021ae.zip opensbi-187127fb89b99790793d4b2663286371b59021ae.tar.gz opensbi-187127fb89b99790793d4b2663286371b59021ae.tar.bz2 |
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 <dramforever@live.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/Kconfiglib/kconfiglib.py')
0 files changed, 0 insertions, 0 deletions