Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2014 18:05:08 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica
Message-ID:  <20140830180508.GA49052@FreeBSD.org>
In-Reply-To: <58768837.sIF65g1iXL@ralph.baldwin.cx>
References:  <201408301748.s7UHmc6H059701@svn.freebsd.org> <58768837.sIF65g1iXL@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 30, 2014 at 01:58:20PM -0400, John Baldwin wrote:
> On Saturday, August 30, 2014 05:48:38 PM John Baldwin wrote:
> > New Revision: 270850
> > URL: http://svnweb.freebsd.org/changeset/base/270850
> > 
> > Log:
> >   Save and restore FPU state across suspend and resume.  In earlier
> > revisions of this patch, resumectx() called npxresume() directly, but that
> > doesn't work because resumectx() runs with a non-standard %cs selector.
> > Instead, all of the FPU suspend/resume handling is done in C.
> 
> This mostly fixes suspend and resume in X on a little 32-bit only netbook I
> have.  I needed an additional patch to the i915 code to prevent it from
> tearing down its interrupt handler in suspend and re-establishing it during
> resume (this sort of thing is not needed in drivers and isn't safe because
> suspend runs pinned to CPU 0 and unregistering an interrupt needs to bind to
> the CPU the IDT vector is assigned to).

John, thanks for a lot for making more and more laptops sleep-ready, as this
will certainly help FreeBSD to be considered as a suitable platform for them.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140830180508.GA49052>