From owner-svn-src-head@FreeBSD.ORG Tue Mar 23 20:51:21 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 967F3106566B; Tue, 23 Mar 2010 20:51:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 176418FC0A; Tue, 23 Mar 2010 20:51:20 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o2NKpHe9023695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Mar 2010 22:51:17 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o2NKpHsC093186; Tue, 23 Mar 2010 22:51:17 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o2NKpHu6093185; Tue, 23 Mar 2010 22:51:17 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 23 Mar 2010 22:51:17 +0200 From: Kostik Belousov To: Paul B Mahol Message-ID: <20100323205117.GG2415@deviant.kiev.zoral.com.ua> References: <201003221152.o2MBqs9M012769@svn.freebsd.org> <201003220849.36246.jhb@freebsd.org> <20100322152334.GA24534@sandvine.com> <20100323192131.GF32142@hoeg.nl> <20100323200253.GF2415@deviant.kiev.zoral.com.ua> <3a142e751003231335x58179a0aqcbd6ea328c04409d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/i8j2F0k9BYX4qLc" Content-Disposition: inline In-Reply-To: <3a142e751003231335x58179a0aqcbd6ea328c04409d@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Ed Schouten , src-committers@freebsd.org, Ed Maste , John Baldwin , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r205444 - head/sys/i386/i386 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 20:51:21 -0000 --/i8j2F0k9BYX4qLc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 23, 2010 at 09:35:09PM +0100, Paul B Mahol wrote: > On 3/23/10, Kostik Belousov wrote: > > On Tue, Mar 23, 2010 at 08:21:31PM +0100, Ed Schouten wrote: > >> * Ed Maste wrote: > >> > I was just about to follow up with a comment to that effect. We do = want > >> > it to become a panic, but I would prefer to hold off until we address > >> > the known issue with padlock(4). > >> > >> I have seen this message appear when using the ndisulator as well. How > >> are we going to solve it in this case? Could the ndisulator be extended > >> to prepare a FPU context using kib's new API? > > > > I looked at http://msdn.microsoft.com/en-us/library/aa489566.aspx > > after someone mentioned ndisulator. It seems that windows requires > > that i386 drivers carefully use braces for use of FPU, while amd64 > > code allowed to use it freely. That suggests that windows clears > > TS on kernel mode entry or driver calls, that seems to be too > > wastefull. > > > > I would very much appreciate the help with changing both ndis and > > padlock to use fpu_kern_enter/leave KPI, since I do not use them. > > I need some time to polish the patch before. > > >=20 > I saw fpudna only on amd64, but I never managed to get ndisulator > fully working on amd64 (at least with broadcom card/driver). I cannot find KeSaveFloatingPointState symbol defined by ndisulator. Could it be that it is a macro or inline function that expands to proper assembly for i386, and nop on amd64 ? That would explain your observation. --/i8j2F0k9BYX4qLc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkupKcUACgkQC3+MBN1Mb4ggvQCgiwcovlcACPE4b7OWW9+nISv0 v4wAni5C9pNHChXbguSKIlLGUUYCFtcA =Em2q -----END PGP SIGNATURE----- --/i8j2F0k9BYX4qLc--