Page MenuHomeFreeBSD

zfs: enable FPU on powerpc*
ClosedPublic

Authored by pkubaj on Mar 27 2025, 4:45 PM.
Tags
None
Referenced Files
F126698120: D49538.diff
Fri, Aug 22, 6:50 PM
F126678899: D49538.diff
Fri, Aug 22, 12:34 PM
Unknown Object (File)
Wed, Aug 20, 1:39 PM
Unknown Object (File)
Thu, Aug 14, 11:50 PM
Unknown Object (File)
Wed, Aug 13, 10:07 AM
Unknown Object (File)
Sun, Aug 10, 4:17 AM
Unknown Object (File)
Sun, Aug 3, 8:02 AM
Unknown Object (File)
Sat, Aug 2, 10:45 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 63171
Build 60055: 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.