Page MenuHomeFreeBSD

arm64: Disable outling atomics
ClosedPublic

Authored by andrew on May 22 2024, 2:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 13, 2:55 AM
Unknown Object (File)
Wed, Feb 26, 12:03 AM
Unknown Object (File)
Sat, Feb 22, 1:44 PM
Unknown Object (File)
Feb 5 2025, 6:18 AM
Unknown Object (File)
Jan 29 2025, 3:03 AM
Unknown Object (File)
Jan 29 2025, 12:26 AM
Unknown Object (File)
Jan 24 2025, 5:13 PM
Unknown Object (File)
Jan 23 2025, 6:39 PM
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

Event Timeline

This revision is now accepted and ready to land.Jun 3 2024, 6:16 PM

It would be nice to have an associated bug report to link in the comment.

This revision was automatically updated to reflect the committed changes.