From: Jeremy Fitzhardinge Subject: Re: [PATCH 12/24] x86-64: remove PGE from must-have feature list Date: Sun, 15 Mar 2009 14:25:58 -0700 Message-ID: <49BD7266.1090200@goop.org> References: <1236931920-6861-1-git-send-email-jeremy@goop.org> <1236931920-6861-13-git-send-email-jeremy@goop.org> <49BD70B3.3030703@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49BD70B3.3030703@zytor.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "H. Peter Anvin" Cc: Xen-devel , the arch/x86 maintainers , Linux Kernel Mailing List , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org H. Peter Anvin wrote: >> --- a/arch/x86/include/asm/required-features.h >> +++ b/arch/x86/include/asm/required-features.h >> @@ -50,7 +50,7 @@ >> #ifdef CONFIG_X86_64 >> #define NEED_PSE 0 >> #define NEED_MSR (1<<(X86_FEATURE_MSR & 31)) >> -#define NEED_PGE (1<<(X86_FEATURE_PGE & 31)) >> +#define NEED_PGE 0 >> #define NEED_FXSR (1<<(X86_FEATURE_FXSR & 31)) >> #define NEED_XMM (1<<(X86_FEATURE_XMM & 31)) >> #define NEED_XMM2 (1<<(X86_FEATURE_XMM2 & 31)) >> > > This should be conditionalized on CONFIG_PARAVIRT, since doing this > removes real-hardware optimimizations. > OK. Can do the same for PSE. J