[Bug 165622] [ndis][panic][patch] Unregistered use of FPU in kernel on amd64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 25 00:58:29 UTC 2019


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

--- Comment #14 from commit-hook at freebsd.org ---
A commit references this bug:

Author: gonzo
Date: Thu Apr 25 00:58:12 UTC 2019
New revision: 346656
URL: https://svnweb.freebsd.org/changeset/base/346656

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 elements.

  Based on the patch by Paul B Mahol

  PR:           165622
  Submitted by: Vlad Movchan <vladislav.movchan at gmail.com>

Changes:
_U  stable/11/
  stable/11/sys/compat/ndis/kern_windrv.c
  stable/11/sys/compat/ndis/pe_var.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list