[Bug 1995860] Re: Emulation of fence.tso hangs in endless loop

Timo Aaltonen 1995860 at bugs.launchpad.net
Sat Nov 26 14:02:22 UTC 2022


Hello Heinrich, or anyone else affected,

Accepted u-boot into kinetic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/u-boot/2022.07+dfsg-1ubuntu4.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
kinetic to verification-done-kinetic. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-kinetic. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: u-boot (Ubuntu Kinetic)
       Status: New => Fix Committed

-- 
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 Committed

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