RE: [tip:x86/urgent] x86-64, init: Do not set NX bits on non-NX capable hardware
From: H. Peter Anvin
Date: Sat May 11 2013 - 10:56:43 EST
Yes... But both apply.
Yuhong Bao <yuhongbao_386@xxxxxxxxxxx> wrote:
>(resending as plaintext)
>> During early init, we would incorrectly set the NX bit even if the NX
>> feature was not supported. Instead, only set this bit if NX is
>> actually available and enabled. We already do very early detection
>of
>> the NX bit to enable it in EFER, this simply extends this detection
>to
>> the early page table mask.
>AFAIK the only production x86-64 processor that don't support NX that I
>know of is the original Nocona D0 stepping.
>Must more common are the problem of BIOSes disabling the NX feature.
>
>
>Yuhong Bao
--
Sent from my mobile phone. Please excuse brevity and lack of formatting.
--
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/