From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?windows-1252?Q?Roger_Pau_Monn=E9?= Subject: Re: [PATCH RFC v1 09/13] elfnotes: intorduce a new PHYS_ENTRY elfnote Date: Tue, 23 Jun 2015 11:40:36 +0200 Message-ID: <55892994.9000203@citrix.com> References: <1434989487-74940-1-git-send-email-roger.pau@citrix.com> <1434989487-74940-10-git-send-email-roger.pau@citrix.com> <55894466020000780008807B@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z7KhA-0000lY-KF for xen-devel@lists.xenproject.org; Tue, 23 Jun 2015 09:40:44 +0000 In-Reply-To: <55894466020000780008807B@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Elena Ufimtseva , Wei Liu , Ian Campbell , Stefano Stabellini , Andrew Cooper , Ian Jackson , xen-devel@lists.xenproject.org, Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org El 23/06/15 a les 11.35, Jan Beulich ha escrit: >>>> On 22.06.15 at 18:11, wrote: >> @@ -213,6 +214,9 @@ elf_errorstatus elf_xen_parse_note(struct elf_binary *elf, >> elf, note, sizeof(*parms->f_supported), i); >> break; >> >> + case XEN_ELFNOTE_PHYS_ENTRY: >> + parms->phys_entry = val; > > I don't think I've seen this field having got added in an earlier patch, > and it's also not getting added here. Yes, it's added in patch 5, because it's also used by the HVM-generic loader. >> --- a/xen/include/public/elfnote.h >> +++ b/xen/include/public/elfnote.h >> @@ -200,9 +200,18 @@ >> #define XEN_ELFNOTE_SUPPORTED_FEATURES 17 >> >> /* >> + * Physical entry point into the kernel. >> + * >> + * 32bit entry point into the kernel. Xen will use this entry point >> + * in order to launch the guest kernel in 32bit protected mode >> + * with paging disabled. >> + */ >> +#define XEN_ELFNOTE_PHYS_ENTRY 18 > > Perhaps XEN_ELFNOTE_PHYS_ENTRY32 or XEN_ELFNOTE_PHYS32_ENTRY > then? That's fine, I don't mind changing it. Although AFAIK it's not possible to have a 64bit physical entry point (paging-disabled). Roger.