From: "Jan Beulich" Subject: Re: [PATCH] linux-2.6.18/x86_64: remove an inapplicable feature flag Date: Wed, 03 Nov 2010 09:13:32 +0000 Message-ID: <4CD135CC02000078000205E1@vpn.id2.novell.com> References: <4CD1327D02000078000205D6@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4CD1327D02000078000205D6@vpn.id2.novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 03.11.10 at 09:59, "Jan Beulich" wrote: > Signed-off-by: Jan Beulich >=20 > --- a/arch/x86_64/kernel/head-xen.S > +++ b/arch/x86_64/kernel/head-xen.S > @@ -206,6 +206,6 @@ > ELFNOTE(Xen, XEN_ELFNOTE_ENTRY, .quad, startup_64) > ELFNOTE(Xen, XEN_ELFNOTE_HYPERCALL_PAGE, .quad, hypercall_page) > ELFNOTE(Xen, XEN_ELFNOTE_L1_MFN_VALID, .quad, =20 > _PAGE_PRESENT,_PAGE_PRESENT) > - ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz, "writable_page_tab= les|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|= supervisor_mode_kernel") > + ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz, "writable_page_tab= les|writable_descriptor_tables|auto_translated_physmap|supervisor_mode_kern= el") > ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz, "generic") > ELFNOTE(Xen, XEN_ELFNOTE_SUSPEND_CANCEL, .long, 1) If the flag was removed from the pv-ops 64-bit kernel too, we could even start warning about inapplicable flags in hypervisor/tools. What puzzles me more though is that the pv-ops kernel requires the writable_page_tables feature. Why is that? And assuming it supports it at all (which seems questionable given that it unlikely was ever tested), why would it not also indicate support for writable_descriptor_tables and auto_translated_physmap? Jan