Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2021 12:55:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 253617] ffs_sbget: panic: Unregistered use of FPU in kernel
Message-ID:  <bug-253617-3630-afPSVT1nOM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253617-3630@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253617

--- Comment #4 from Konstantin Belousov <kib@FreeBSD.org> ---
Note that CRC32 instruction is qualified on SSE4.2, but it does not use any
of FPU registers.  It operates on GPR so it does not require saving user
context
before executing in kernel.

It should not even cause #NM (Device Not Available) exception at all, according
to SDM.  Adding fpu_kern_enter() around it would hugely hit non-buggy
environments
like bare metal or non-buggy hypervisors.

Try to report it to QEMU devs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253617-3630-afPSVT1nOM>