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

From: Kevin Winchester
Date: Thu Aug 13 2009 - 10:58:00 EST


2009/8/13 Borislav Petkov <borislav.petkov@xxxxxxx>:
> Hi Kevin,
>
> On Wed, Aug 12, 2009 at 08:02:14PM -0300, Kevin Winchester wrote:
>> So that feature is definitely set.
>
> thanks for testing. As a reply to that follow two patches for you to
> test. The one is adding some more msr functionality and the second is
> based on your original one which should in addition turn off the cpuid
> bit. Please apply, compile, reboot and run the small app again to verify
> that ECX[0] is now off.
>
> Let me know how it goes.
>

Looking at your patch, I now see why my attempt to read/write the MSRs
failed - magic. :)

I will try these patches this evening when I get back to my computer
and let you know, but they look good to me.

Thanks for all the help,

--
Kevin Winchester
--
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/