OpenSBI should emulate fence.tso for the D1 soc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
opensbi (Ubuntu) |
Fix Released
|
Undecided
|
Heinrich Schuchardt |
Bug Description
[ Impact ]
As reported in https:/
[ Test Plan ]
Patch opensbi with both commits c919f684d95f ("lib: sbi_illegal_insn: Add emulation for fence.tso") and 51074432b233 ("lib: sbi_illegal_insn: Fix FENCE.TSO emulation infinite trap loop"), rebuild a u-boot-nezha package with this opensbi and install it on the nezha board. Finally reboot, and just execute the following command:
$ clang --version
Which should output the current clang version and not get killed.
[ Where problems could occur ]
This could break opensbi on all the RISC-V boards, even though the patches have been in upstream for a few months.
summary: |
- openSBI should emulate fence.tso for the D1 soc + OpenSBI should emulate fence.tso for the D1 soc |
Changed in opensbi (Ubuntu): | |
status: | New → Fix Released |
tags: | removed: foundations-todo |
Please find attached a debdiff that was successfully tested on the Nezha board.