HomeFreeBSD

module: freebsd: fix aarch64 fpu handling

Description

module: freebsd: fix aarch64 fpu handling

Just like x86, aarch64 needs to use the fpu_kern(9) API around FPU
usage, otherwise we panic promptly at boot as soon as ZFS attempts to
do checksum benchmarking.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Closes #14715

Details

Provenance
kevansAuthored on Apr 7 2023, 12:40 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 10 2023, 7:40 PM
Parents
rGdee77f45d0f9: module: resync part of Makefile.bsd
Branches
Unknown
Tags
Unknown

Event Timeline