tls 9c8a51e704 On i386 (but not on amd64) we can enable SSE comparatively very late, when
probing/attaching the FPU.  This is a problem for cpu_rng with the VIA
processors because, by design, cpu_rng attaches, and the entropy subsystem
starts up, very early.

If SSE is not enabled, calls to any "PadLock" instructions (ACE, RNG)
on the VIA processors will trap, per the manual:
	linux.via.com.tw/support/beginDownload.action?eleid=181&fid=261

All VIA CPUs with PadLock, or which match the model/stepping test as
possibly having PadLock, have SSE.  Just unconditionally enable it before
trying to turn the crypto block on.

Fixes crash at RNG attach time reported by Andrus V.; fix proposed by
jak@.
2017-02-16 15:00:30 +00:00
..
2017-02-16 08:12:43 +00:00
2017-02-16 08:23:35 +00:00
2017-02-16 08:23:35 +00:00
2017-02-16 08:23:35 +00:00
2017-02-16 08:23:35 +00:00
2017-02-16 08:39:10 +00:00