Re: faster via/centaur hw rng throughput patch for 2.6.8.1

Jeff Garzik
2004-08-27T19:22:52Z

Martin Peck wrote:
> - use of cpu_has_xstore replaced with model / stepping
> checks to determine C5XL/C5P/C5J/* capability. there
> is a problem with first generation C5XL boards (with
> stepping 0 IIRC) that do not report xstore but do
> have a functional hardware rng device. the stepping
> check also distinguishes the single entropy C5XL from
> the dual entropy C5P+.

Oh, and this change is going in the wrong direction.

You should instead modify arch/i386/kernel/cpu/centaur.c with code that
does something like

if (!xstore feature bit reported)
check stepping and see if it's there anyway

Regards,

Jeff