[Bug 255997] fpu_kern_thread is called before fpu_initialstate has been set in ktls_kern_thread

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 May 2021 18:39:41 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255997

--- Comment #6 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=c56de177d28295b4b07ad0b17e4faf4f11c9e4f2

commit c56de177d28295b4b07ad0b17e4faf4f11c9e4f2
Author:     Konstantin Belousov <kib_at_FreeBSD.org>
AuthorDate: 2021-05-27 16:26:10 +0000
Commit:     Konstantin Belousov <kib_at_FreeBSD.org>
CommitDate: 2021-05-28 18:38:32 +0000

    x86: initialize initial FPU state earlier

    Make it under SI_SUB_CPU sysinit, instead of much later SI_SUB_DRIVERS.
    The SI_SUB_DRIVERS survived from times when FPU used real ISA attachment,
    now it is only pnp stub claiming id.

    PR:     255997
    Reviewed by:    jhb
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D30512

 sys/amd64/amd64/fpu.c | 2 +-
 sys/i386/i386/npx.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri May 28 2021 - 18:39:41 UTC

Original text of this message