[Bug 1995860] Re: Emulation of fence.tso hangs in endless loop
Bug Watch Updater
1995860 at bugs.launchpad.net
Sun Nov 27 18:38:21 UTC 2022
** Changed in: opensbi (Debian)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/1995860
Title:
Emulation of fence.tso hangs in endless loop
Status in opensbi package in Ubuntu:
Fix Released
Status in u-boot package in Ubuntu:
Fix Released
Status in u-boot-nezha package in Ubuntu:
Fix Released
Status in opensbi source package in Jammy:
Fix Committed
Status in opensbi source package in Kinetic:
Fix Committed
Status in u-boot source package in Kinetic:
Fix Committed
Status in u-boot-nezha source package in Kinetic:
Fix Committed
Status in opensbi source package in Lunar:
Fix Released
Status in u-boot source package in Lunar:
Fix Released
Status in u-boot-nezha source package in Lunar:
Fix Released
Status in opensbi package in Debian:
Fix Released
Bug description:
[ Impact ]
OpenSBI 1.1 has added an emulation of the fence.tso instruction
missing on the Allwinner D1 SOC. This emulation hangs in an endless
loop. This is fixed by the following upstream patch:
111afc12306e ("lib: sbi_illegal_insn: Fix FENCE.TSO emulation infinite
trap loop")
We need to rebuild packages u-boot and u-boot-nezha with the updated
OpenSBI to make use of the fix.
[ Test Plan ]
* Boot QEMU, SiFive Unmatched and Nezha D1 with the updated U-Boot.
* Install package clang.
* Execute command clang -v (which uses the fence.tso command).
* Reboot.
[ Where problems could occur ]
The patch added concerns only the fence.tso emulation.
If the patch were wrong, the Nezha D1 might still fail in the
emulation.
A defective OpenSBI might lead to failure to boot, to reboot, to
poweroff or to crashes when Linux calls into SBI.
[ Other Info ]
n/a
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/1995860/+subscriptions
More information about the foundations-bugs
mailing list