HomeFreeBSD

arm64: Disable outling atomics

Description

arm64: Disable outling atomics

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.

Reviewed by: brooks, imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45301

(cherry picked from commit 361da40536d7f6fc6c06d54b261c299d170ccf2f)

Details

Provenance
andrewAuthored on Jun 4 2024, 12:45 PM
Reviewer
brooks
Differential Revision
D45301: arm64: Disable outling atomics
Parents
rG19349d339406: binmiscctl.8: Change the example to armv7
Branches
Unknown
Tags
Unknown