Re: Linux 2.6.30-rc8 [also: VIA Support]

Michael S. Zick
2009-06-04T22:00:28Z

On Thu June 4 2009, Dave Jones wrote:
> On Thu, Jun 04, 2009 at 04:38:13PM -0500, Michael S. Zick wrote:
> > I have already preceded that chunk of code with a printk and confirmed
> > that x86_clflush_size is properly set to 64 bytes (somewhere else).
> >
> > So your suggestion is the obvious one for the C7-M,
> > I don't know about any other makes/models.
> >
> > This machine's C7-M is being reported as a "stepping 0" ??
> > What is earlier than a stepping 0 ??
>
> Earlier model numbers.
> (Stepping gets reset to 0 every time they bump the model)
>

So 6.model=13.stepping=0 should do it for the (or this) C7-M, correct?
Your mention of "earlier models" will not apply until there is a
stepping >0 for a model=13, correct?

Would a good practice be to put a "WARN_ON" in there in case a stepping
greater than =0 happens to execute the code?
In addition to checking specificly for 6.13.0 (rather than just 6.13).

Hmmm...
But that is making a big mess of a small mess -
Why not just do the assignment you suggest for 6.model>=13?

Models earlier than 13 are evidently working (due to lack of
bug reports or other noise on this list).

Mike
> Dave
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>