[Bug 1995860] Re: Emulation of fence.tso hangs in endless loop
Launchpad Bug Tracker
1995860 at bugs.launchpad.net
Tue Nov 29 16:51:27 UTC 2022
This bug was fixed in the package opensbi - 1.1-0ubuntu0.22.04.1
---------------
opensbi (1.1-0ubuntu0.22.04.1) jammy; urgency=medium
* New upstream release (LP: #1995261)
* Fix emulation of fence.tso hanging in endless loop on Allwinner D1
d/p/lib-sbi_illegal_insn-Fix-FENCE.TSO-emulation-infinit.patch
(LP: #1995860)
* Dropping all other patches as they already integrated in the new source.
-- Heinrich Schuchardt <heinrich.schuchardt at canonical.com> Tue, 15 Nov
2022 17:10:37 +0100
** Changed in: opensbi (Ubuntu Jammy)
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 Released
Status in opensbi source package in Kinetic:
Fix Released
Status in u-boot source package in Kinetic:
Fix Committed
Status in u-boot-nezha source package in Kinetic:
Fix Released
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