Page MenuHomeFreeBSD

zfs: enable FPU on powerpc*
ClosedPublic

Authored by pkubaj on Mar 27 2025, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 4, 8:38 AM
Unknown Object (File)
Wed, Nov 26, 3:28 AM
Unknown Object (File)
Nov 18 2025, 1:59 AM
Unknown Object (File)
Nov 7 2025, 5:13 AM
Unknown Object (File)
Nov 6 2025, 7:07 PM
Unknown Object (File)
Nov 6 2025, 3:44 AM
Unknown Object (File)
Nov 1 2025, 5:09 AM
Unknown Object (File)
Oct 31 2025, 3:23 PM

Details

Summary

Note that due to naming collision (zfs_sha256_ppc and zfs_sha512_ppc) it's not possible to build a kernel containing both ZFS and OSSL builtin.

MFC after: 1 week

Test Plan

make kernel and boot with ZFS on /

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 63172
Build 60056: arc lint + arc unit

Event Timeline

Update files.powerpc to handle collision with ossl.

jhibbits added a subscriber: jhibbits.
jhibbits added inline comments.
sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
63

curpcb should always match curthread->curpcb, so you should be able to use PCPU_GET(curpcb) here instead. Not a requirement, but a suggestion.

This revision is now accepted and ready to land.Mar 28 2025, 12:34 PM
This revision was automatically updated to reflect the committed changes.