Re: AESNI driver and fpu_kern KPI

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Sat, 15 May 2010 14:41:12 +0300
On Sat, May 15, 2010 at 01:04:36PM +0200, Marius Strobl wrote:
> On Sat, May 15, 2010 at 01:04:01PM +0300, Kostik Belousov wrote:
> > 
> > I am interested in the problem reports and reviews. Maintainers of
> > !x86-oids are welcome to provide feedback whether they feel that
> > proposed KPI could be implemented on their architectures, or what
> > modifications they consider as needed to be able to implement
> > it.
> > 
> 
> FYI, sparc64 doesn't need such a KPI as it supports using the FPU
> in kernel unconditionally for ages.

How is this done on sparc64 ? Is PSTATE.PEF cleared on kernel entry,
or FPU is disabled ?

When I researched the problem space, I noted that windows on amd64
also provides an unrestricted access to XMM, while not on i386:
http://msdn.microsoft.com/en-us/library/ff545910%28VS.85%29.aspx
It seems that windows unconditionally set CR0.TS on kernel-mode
entry from usermode.

Received on Sat May 15 2010 - 09:41:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC