From owner-svn-src-head@FreeBSD.ORG Tue Mar 23 20:35:11 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 8EA69106564A; Tue, 23 Mar 2010 20:35:11 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE718FC12; Tue, 23 Mar 2010 20:35:10 +0000 (UTC) Received: by wyb33 with SMTP id 33so3341419wyb.13 for ; Tue, 23 Mar 2010 13:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ng+MlqvNviOTQHeTaLIaQ+LULxgqC/kWm0DlB4V/LTM=; b=IOxs6wF0UdDJgn6iCbY+G5grOWEBaUjtC5/jXMAfOcmXTb5JInBuW8wTCYsmlrlggY JEcKRv/TUrrr69x8FHNiJ7+0LrD7NlyPNCY3cTe9pPDv2icZfcRkY6yRFOvTb4kPzjh8 EJPuM69AlPMqAVkIrq2G1PSL0CtEVuA6YUnpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xkizARGZXJfEa4WWGP6MExEfz1fOqkYygNyAqItG5wvjWCCCZzaYnszgvYoDmvUDXQ oBigKuz98SK0tQabGXF3jZWmvVJaRqIAWLx01u357ue3KNOC1wm4nH9tOkDYuNtCoAiB Ououoo56QiSBXA+EvgCAYQZGChUBXpZPvmbQ4= MIME-Version: 1.0 Received: by 10.216.165.148 with SMTP id e20mr42043wel.29.1269376509324; Tue, 23 Mar 2010 13:35:09 -0700 (PDT) In-Reply-To: <20100323200253.GF2415@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> Date: Tue, 23 Mar 2010 21:35:09 +0100 Message-ID: <3a142e751003231335x58179a0aqcbd6ea328c04409d@mail.gmail.com> From: Paul B Mahol To: Kostik Belousov Content-Type: text/plain; charset=ISO-8859-1 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:35:11 -0000 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. > I saw fpudna only on amd64, but I never managed to get ndisulator fully working on amd64 (at least with broadcom card/driver).