Project

General

Profile

Actions

Bug #12793

closed

kernel FPU support

Added by Jerry Jelinek almost 2 years ago. Updated almost 2 years 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)ClosedJerry Jelinek

Actions
Related to illumos gate - Bug #12968: curthread swtch-ing while the kernel is using the FPUClosedJerry Jelinek

Actions
Actions #1

Updated by Jerry Jelinek almost 2 years 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.

Actions #2

Updated by Toomas Soome almost 2 years 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.

Actions #3

Updated by Electric Monk almost 2 years ago

  • Gerrit CR set to 717
Actions #4

Updated by Joshua M. Clulow almost 2 years ago

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

Updated by Jerry Jelinek almost 2 years 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).

Actions #6

Updated by Electric Monk almost 2 years 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>

Actions #7

Updated by Marcel Telka almost 2 years ago

  • Related to Bug #12968: curthread swtch-ing while the kernel is using the FPU added
Actions

Also available in: Atom PDF