HomeFreeBSD

loader: add aarch64 support for zstd

Description

loader: add aarch64 support for zstd

We don't have NEON available in the boot loader, so we have to disable
it. OpenZFS included ZSTD which used the wrong symbol to bring in neon
support. Change to use the code that's been submitted upstream as a
pull request to both.

ARM_NEON is the proper symbol, defined in ARM C Language Extensions
Release 2.1 (https://developer.arm.com/documentation/ihi0053/d/). Some
sources suggest
ARM_NEON__, but that's the obsolete spelling from
prior versions of the standard.

OpenZFS Pull Request: https://github.com/openzfs/zfs/pull/11055
ZSTD Pull Request: https://github.com/facebook/zstd/pull/2356

Details

Provenance
impAuthored on Oct 28 2020, 9:18 PM
Parents
rGb4e4f070eacd: Note that sys/systm.h is special too
Branches
Unknown
Tags
Unknown

Event Timeline