Project

General

Profile

Bug #12793

kernel FPU support

Added by Jerry Jelinek about 1 month ago. Updated about 4 hours ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The ability for the kernel to use the FPU is a prerequisite for porting the ZFS HW-accelerated raidz
calculations from OpenZFS. Issue 12668 is the first phase of that work, although that issue
does not enable HW acceleration.


Related issues

Related to illumos gate - Bug #12794: ZFS support for vectorized algorithms on x86 (HW support)New

Actions

History

#1

Updated by Jerry Jelinek about 1 month ago

Ticket 12794 depends on this work. There is no consumer for the kernel FPU
support included as part of this ticket (12793), but we want to integrate this standalone
for proper code review and to clearly give credit for this work. 12794 will deliver
the first consumer.

We have an initial implementation by Robert Mustacchi when he was at Joyent,
along with follow-on enhancements and bug fixes to that code.

#2

Updated by Toomas Soome about 1 month ago

Jerry Jelinek wrote:

Ticket 12794 depends on this work. There is no consumer for the kernel FPU
support included as part of this ticket (12793), but we want to integrate this standalone
for proper code review and to clearly give credit for this work. 12794 will deliver
the first consumer.

We have an initial implementation by Robert Mustacchi when he was at Joyent,
along with follow-on enhancements and bug fixes to that code.

We also need it to access UEFI RT.

#3

Updated by Electric Monk 15 days ago

  • Gerrit CR set to 717
#4

Updated by Joshua M. Clulow 15 days ago

  • Related to Bug #12794: ZFS support for vectorized algorithms on x86 (HW support) added
#5

Updated by Jerry Jelinek about 9 hours ago

Since there is no consumer as part of this change, it can't be tested on its own, but there is a full set of test results in 12794 (the first consumer of the KFPU support).

#6

Updated by Electric Monk about 4 hours ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 2fc9ab6e6080d66d8dc6b967cea7ba24bee8c7e5

commit  2fc9ab6e6080d66d8dc6b967cea7ba24bee8c7e5
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2020-07-09T18:31:42.000Z

    12793 kernel FPU support
    Portions contributed by: Robert Mustacchi <rm@fingolfin.org>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Ryan Zezeski <ryan@zinascii.com>
    Reviewed by: Jason King <jason.king@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Patrick Mooney <pmooney@pfmooney.com>

Also available in: Atom PDF