diff options
| author | Samuel Holland <[email protected]> | 2022-05-29 13:25:30 -0500 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-06-01 17:20:20 +0530 |
| commit | cb8271c8e43e3c317436b7377c4fa0ac669f8fb5 (patch) | |
| tree | 7315f93406b3ba854e4d10660f960cdeacc0cc36 /lib/utils/timer/objects.mk | |
| parent | ff65bfec4e4fdef31de0871d03f58ca020d6ada2 (diff) | |
lib: sbi_illegal_insn: Add emulation for fence.tso
While OpenC906 appears to properly decode `fence.tso` as a fence
instruction[1], the version of the C906 taped out in the Allwinner D1
does not, and raises illegal instruction.
Handle this errata by emulating `fence.tso` as `fence rw, rw`.
[1]: https://github.com/T-head-Semi/openc906/blob/30827e7f/C906_RTL_FACTORY/gen_rtl/idu/rtl/aq_idu_id_decd.v#L2097
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions
