Re: [PATCH] Fix Athlon MCA

Linus Torvalds
2003-09-21T17:39:48Z

On Sun, 21 Sep 2003, Kronos wrote:
>
> This messages go away if I revert cset 1.1119.9.1. AFAIK you were trying
> to decrease the logging level. After reading IA32 Architecture Software
> Developers Manual, vol3 - chapter 14.5 "Machine-Check Initialization" I
> think that the right way to do it is this:

Why not just handling the (different) 0-based case in front of the loop:

/* Clear status for MC index 0 separately, we don't touch CTL. */
wrmsr (MSR_IA32_MC0_STATUS, 0x0, 0x0);

and leave the loop 1-based.

Dave, up to you..

Linus