Page MenuHomeFreeBSD

arm64: Disable outling atomics
ClosedPublic

Authored by andrew on May 22 2024, 2:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 6, 8:36 PM
Unknown Object (File)
Sun, Jun 30, 3:21 AM
Unknown Object (File)
Thu, Jun 27, 8:54 PM
Unknown Object (File)
Thu, Jun 27, 2:57 PM
Unknown Object (File)
Fri, Jun 21, 5:21 AM
Unknown Object (File)
Jun 5 2024, 10:09 AM
Unknown Object (File)
Jun 5 2024, 9:34 AM
Unknown Object (File)
Jun 5 2024, 9:11 AM
Subscribers

Details

Summary

We don't have the symbols for this. The virtio randon number driver
uses a C11 atomic operation. With inline atomics this is translated to
an Armv8.0 atomic operation, with outling atomics this becomes a
function call to a handler. As we don't have the needed function the
kernel fails to link.

Fix by disabling outline atomics for now.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable