[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c426f516-7a1c-49bd-a05e-da98171f1c5a@email.android.com>
Date: Thu, 17 Jun 2010 20:03:48 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Yuhong Bao <yuhongbao_386@...mail.com>, kees.cook@...onical.com
CC: x86@...nel.org, linux-kernel@...r.kernel.org, tglx@...utronix.de,
mingo@...hat.com, tabbott@...lice.com, sam@...nborg.org,
heukelum@...tmail.fm
Subject: RE: [PATCH] x86: clear XD_DISABLED flag on Intel to regain NX
Yes, I mentally flipped the sense of the bit... talked to Kees already.
"Yuhong Bao" <yuhongbao_386@...mail.com> wrote:
>
>> a) Not all Intel CPUs with extended CPUID levels have
>> MSR_IA32_MISC_ENABLE bit 34. Since we can't take traps here we would
>> have to know positively that we aren't going to trip on anything.
>It won't as these older Intel CPUs are always going to read this bit as zero, and even if no checking for this is include all the wrmsr would do is write the same value back, which won't cause a trap.
>
>Yuhong Bao
>
>_________________________________________________________________
>Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
>http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
--
Sent from my mobile phone. Please pardon any lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists