Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state changes

From: Herbert Xu
Date: Mon Aug 11 2008 - 20:47:19 EST


On Mon, Aug 11, 2008 at 05:42:21PM -0700, H. Peter Anvin wrote:
>
> That's not sufficient, though, because you have to track all the state
> and how it relates to everything. You now have to track both the
> userspace FPU state and the potential kernel FPU state. The VIA
> instructions are special (in the short bus to school sense) in that they
> use a mechanism intended to protect specific state to protect -- exactly
> nothing.

Sorry, the kernel TS state is what I meant. I'm definitely not
advocating the saving of the kernel FPU state. This is only for
things like the VIA (which also exists for other processors, see
the xor SSE stuff in include/asm-x86).

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/