Page MenuHomeFreeBSD

zfs: enable FPU on powerpc*
ClosedPublic

Authored by pkubaj on Thu, Mar 27, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 4:57 AM
Unknown Object (File)
Mon, Mar 31, 11:59 PM
Unknown Object (File)
Mon, Mar 31, 10:30 PM
Unknown Object (File)
Mon, Mar 31, 9:34 PM
Unknown Object (File)
Mon, Mar 31, 5:34 PM
Unknown Object (File)
Mon, Mar 31, 4:09 PM
Unknown Object (File)
Mon, Mar 31, 3:25 PM
Unknown Object (File)
Fri, Mar 28, 9:27 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 Not Applicable
Unit
Tests Not Applicable

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.Fri, Mar 28, 12:34 PM
This revision was automatically updated to reflect the committed changes.