Date: Sat, 23 Mar 2019 22:44:53 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 165622] [ndis][panic][patch] Unregistered use of FPU in kernel on amd64 Message-ID: <bug-165622-7501-jVimb5R0sO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-165622-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-165622-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165622 --- Comment #13 from commit-hook@freebsd.org --- A commit references this bug: Author: gonzo Date: Sat Mar 23 22:44:12 UTC 2019 New revision: 345459 URL: https://svnweb.freebsd.org/changeset/base/345459 Log: MFC r343298: [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 amd64 miniport drivers are allowed to use FPU which triggers "Unregistered use of FPU in kernel" panic. Wrap all variants of MSCALL with fpu_kern_enter/fpu_kern_leave. To reduce amount of allocations/deallocations done via fpu_kern_alloc_ctx/fpu_kern_free_ctx maintain cache of fpu_kern_ctx eleme= nts. Based on the patch by Paul B Mahol PR: 165622 Submitted by: Vlad Movchan <vladislav.movchan@gmail.com> Changes: _U stable/12/ stable/12/sys/compat/ndis/kern_windrv.c stable/12/sys/compat/ndis/pe_var.h --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-165622-7501-jVimb5R0sO>