From: Wei Liu <wei.liu2@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel@lists.xenproject.org, Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH] xen: change the sizes of fields in the HVM start info layout to be 64bits
Date: Fri, 8 Apr 2016 17:31:08 +0100 [thread overview]
Message-ID: <20160408163108.GD7377@citrix.com> (raw)
In-Reply-To: <5707EA0E02000078000E6132@prv-mh.provo.novell.com>
On Fri, Apr 08, 2016 at 10:27:42AM -0600, Jan Beulich wrote:
> >>> On 08.04.16 at 17:47, <roger.pau@citrix.com> wrote:
> > At the moment the only consumer of this structure is x86, but other arches
> > might also use it, so make all the fields 64bits. On x86 Xen will still try
> > to place everything below the 4GiB boundary, but that might not be feasible
> > in other arches.
> >
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > Requested-by: Jan Beulich <jbeulich@suse.com>
>
> I don't think I've asked for _all_ fields to be made 64-bit. In
> particular...
>
> > --- a/tools/libxc/include/xc_dom.h
> > +++ b/tools/libxc/include/xc_dom.h
> > @@ -227,16 +227,16 @@ struct xc_dom_image {
> > * be required in the future if there are alignment changes.
> > */
> > struct hvm_start_info {
> > - uint32_t magic; /* Contains the magic value 0x336ec578 */
> > - /* ("xEn3" with the 0x80 bit of the "E" set).*/
> > - uint32_t version; /* Version of this structure. */
> > - uint32_t flags; /* SIF_xxx flags. */
> > - uint32_t cmdline_paddr; /* Physical address of the command line. */
> > - uint32_t nr_modules; /* Number of modules passed to the kernel. */
> > - uint32_t modlist_paddr; /* Physical address of an array of */
> > - /* hvm_modlist_entry. */
> > - uint32_t rsdp_paddr; /* Physical address of the RSDP ACPI data */
> > - /* structure. */
> > + uint64_t magic; /* Contains the magic value 0x746f6f62336ec578 */
> > + /* ("xEn3boot" with the 0x80 bit of the "E" set).*/
> > + uint64_t version; /* Version of this structure. */
> > + uint64_t flags; /* SIF_xxx flags. */
>
> ... none of these 3 need to be 64-bit, nor ...
>
> > + uint64_t cmdline_paddr; /* Physical address of the command line. */
> > + uint64_t nr_modules; /* Number of modules passed to the kernel. */
>
> ... this one.
>
> Nacked-by: Jan Beulich <jbeulich@suse.com>
Ian committed this already. You might want to revert it then.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-04-08 16:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 15:47 [PATCH] xen: change the sizes of fields in the HVM start info layout to be 64bits Roger Pau Monne
2016-04-08 15:51 ` Wei Liu
2016-04-08 15:52 ` Andrew Cooper
2016-04-08 16:01 ` Ian Jackson
2016-04-08 16:30 ` Jan Beulich
2016-04-08 16:38 ` Wei Liu
2016-04-08 16:27 ` Jan Beulich
2016-04-08 16:31 ` Wei Liu [this message]
2016-04-08 16:32 ` Roger Pau Monné
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160408163108.GD7377@citrix.com \
--to=wei.liu2@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).