Date: Wed, 24 Mar 2010 03:22:57 +0100 From: Paul B Mahol <onemda@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: Ed Schouten <ed@80386.nl>, src-committers@freebsd.org, Ed Maste <emaste@freebsd.org>, John Baldwin <jhb@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r205444 - head/sys/i386/i386 Message-ID: <3a142e751003231922q39386b7elb6cd6945652a7291@mail.gmail.com> In-Reply-To: <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> <20100323205117.GG2415@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/23/10, Kostik Belousov <kostikbel@gmail.com> wrote: > On Tue, Mar 23, 2010 at 09:35:09PM +0100, Paul B Mahol wrote: >> On 3/23/10, Kostik Belousov <kostikbel@gmail.com> wrote: >> > On Tue, Mar 23, 2010 at 08:21:31PM +0100, Ed Schouten wrote: >> >> * Ed Maste <emaste@freebsd.org> 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. >> > >> >> 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. I have never found any driver that reports such symbol missing when loaded.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e751003231922q39386b7elb6cd6945652a7291>