On 9/19/22 11:14, Edgecombe, Rick P wrote: > Clearly somehow it is though. The original report has this in the log: > Notice: NX (Execute Disable) protection cannot be enabled: non-PAE > kernel! Ah, crud. Nice catch, btw. So, the CPU has NX, making cpu_feature_enabled(X86_FEATURE_NX)==1, but the page table mode does not have support. I guess we can either clear X86_FEATURE_NX around the "protection cannot be enabled" message, or do something like the attached patch and just do the check at runtime. I'm not sure we want to mess with X86_FEATURE_NX itself. It seems to get used for a few different things, including on the KVM side. 0day folks, can you see if _this_ one (totally untested) helps the situation? At least this is a real oddball case. It's not something that folks are very likely to hit at all.