Re: [PATCH] x86: clear incorrectly forced X86_FEATURE_LAHF_LM flag

From: Ingo Molnar
Date: Sat Aug 08 2009 - 11:43:22 EST



* Borislav Petkov <petkovbb@xxxxxxxxxxxxxx> wrote:

> > +
> > + /*
> > + * Some BIOSes incorrectly set this feature, but only
> > + * Revision E (with Extended Model = 2) actually supports
> > + * it.
> > + */
> > + if (!(level & 0x00020000))
> > + clear_cpu_cap(c, X86_FEATURE_LAHF_LM);
>
> let me check this internally next week because it seems that
> according to the Fam 0xf RevGuide
> (http://support.amd.com/us/Processor_TechDocs/25759.pdf) erratum
> 110 applies to atleast 3 CPU revisions with extended model 0x1
> too.

Ok, mind resending the patch (or dropping it) if you figured that
out? We need to be careful about restoring CPU erratum workarounds
that BIOSen install ... these things are very hard to test and easy
to get wrong.

Ingo
--
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/