From owner-cvs-src-old@FreeBSD.ORG Sat Jun 5 16:01:43 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42BB71065677 for ; Sat, 5 Jun 2010 16:01:43 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8B98FC15 for ; Sat, 5 Jun 2010 16:01:43 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o55G1hAN094654 for ; Sat, 5 Jun 2010 16:01:43 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o55G1hxK094653 for cvs-src-old@freebsd.org; Sat, 5 Jun 2010 16:01:43 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201006051601.o55G1hxK094653@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 5 Jun 2010 16:00:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/crypto/via padlock.c padlock.h padlock_cipher.c padlock_hash.c src/sys/dev/random nehemiah.c src/sys/opencrypto crypto.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 16:01:43 -0000 kib 2010-06-05 16:00:53 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c padlock.h padlock_cipher.c padlock_hash.c sys/dev/random nehemiah.c sys/opencrypto crypto.c Log: SVN rev 208834 on 2010-06-05 16:00:53Z by kib Use the fpu_kern_enter() interface to properly separate usermode FPU context from in-kernel execution of padlock instructions and to handle spurious FPUDNA exceptions that sometime are raised when doing padlock calculations. Globally mark crypto(9) kthread as using FPU. Reviewed by: pjd Hardware provided by: Sentex Communications Tested by: pho PR: amd64/135014 MFC after: 1 month Revision Changes Path 1.24 +7 -1 src/sys/crypto/via/padlock.c 1.5 +7 -0 src/sys/crypto/via/padlock.h 1.6 +12 -2 src/sys/crypto/via/padlock_cipher.c 1.5 +8 -0 src/sys/crypto/via/padlock_hash.c 1.6 +11 -1 src/sys/dev/random/nehemiah.c 1.30 +8 -0 src/sys/opencrypto/crypto.c