All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: roman@zededa.com
Cc: xen-devel@lists.xenproject.org,
	Stefano Stabellini <sstabellini@kernel.org>,
	julien@xen.org,
	Stefano Stabellini <stefano.stabellini@xilinx.com>
Subject: Re: [Xen-devel] REGRESSION: Xen 4.13 RC5 fails to bootstrap Dom0 on ARM
Date: Tue, 17 Dec 2019 10:30:41 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.21.1912171029300.12921@sstabellini-ThinkPad-T480s> (raw)
In-Reply-To: <5db3b29a-2f07-c807-1ee2-503d779548f7@xen.org>

On Tue, 17 Dec 2019, Julien Grall wrote:
> Hi,
> 
> On 17/12/2019 04:39, Roman Shaposhnik wrote:
> > On Mon, Dec 16, 2019 at 6:55 PM Stefano Stabellini
> > <sstabellini@kernel.org> wrote:
> > > On Mon, 16 Dec 2019, Roman Shaposhnik wrote:
> > > If I sum all the memory sizes together I get 0x3ddfd000 which is 990M.
> > > If so, I wonder how you could boot succesfully with dom0_mem=1024M even
> > > on Xen 4.12... :-?
> > 
> > That is a very interesting observation indeed! I actually don't
> > remember where that device tree came from, but I think it was from one
> > of the Linaro sites.
> 
> This is mostly likely because of:
> 
> commit 6341a674573f1834f083f0ab0f5b36b075f9e02e
> Author: Julien Grall <julien.grall@arm.com>
> Date:   Wed Aug 21 22:42:31 2019 +0100
> 
>     xen/arm: domain_build: Don't continue if unable to allocate all dom0 banks
> 
>     Xen will only print a warning if there are memory unallocated when using
>     1:1 mapping (only used by dom0). This also includes the case where no
>     memory has been allocated.
> 
>     It will bring to all sort of issues that can be hard to diagnostic for
>     users (the warning can be difficult to spot or disregard).
> 
>     If the users request 1GB of memory, then most likely they want the exact
>     amount and not 512MB. So panic if all the memory has not been allocated.
> 
>     After this change, the behavior is the same as for non-1:1 memory
>     allocation (used by domU).
> 
>     At the same time, reflow the message to have the format on a single
>     line.
> 
>     Signed-off-by: Julien Grall <julien.grall@arm.com>
>     Acked-by: Stefano Stabellini <sstabellini@kernel.org>

Ah! Roman, could you please post the full boot log of a successful 4.12
boot?

If it has a "Failed to allocate requested dom0 memory" message, then we
know what the issue is.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-12-17 18:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16 20:12 [Xen-devel] REGRESSION: Xen 4.13 RC5 fails to bootstrap Dom0 on ARM Roman Shaposhnik
2019-12-16 22:43 ` Stefano Stabellini
2019-12-17  2:55 ` Stefano Stabellini
2019-12-17  4:39   ` Roman Shaposhnik
2019-12-17 11:30     ` Julien Grall
2019-12-17 18:30       ` Stefano Stabellini [this message]
2019-12-17 18:33         ` Roman Shaposhnik
2019-12-17 19:25           ` Stefano Stabellini
2019-12-18  0:04             ` Roman Shaposhnik
2019-12-18  1:51               ` Stefano Stabellini
2019-12-18  2:56                 ` Roman Shaposhnik
2019-12-18  7:36                   ` Roman Shaposhnik
2019-12-18 11:50                     ` Julien Grall
2019-12-18 17:03                       ` Roman Shaposhnik
2019-12-18 22:17                         ` Julien Grall
2019-12-19  0:28                           ` Roman Shaposhnik
2019-12-19  7:58                             ` Julien Grall
2019-12-20  0:01                               ` Stefano Stabellini
2019-12-20  8:21                                 ` Julien Grall
2019-12-21  1:37                                 ` Roman Shaposhnik
2019-12-29 18:01                                   ` Julien Grall
2019-12-31  5:14                                     ` Roman Shaposhnik
2019-12-31 22:48                                       ` Roman Shaposhnik
2020-01-01 13:26                                         ` Julien Grall
2020-01-06 18:13                                           ` Stefano Stabellini
2019-12-18 13:02                   ` Julien Grall
2019-12-18 12:56               ` Julien Grall
2019-12-18 17:09                 ` Roman Shaposhnik
2019-12-18 22:40                   ` Julien Grall
2019-12-17 18:31       ` Roman Shaposhnik

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=alpine.DEB.2.21.1912171029300.12921@sstabellini-ThinkPad-T480s \
    --to=sstabellini@kernel.org \
    --cc=julien@xen.org \
    --cc=roman@zededa.com \
    --cc=stefano.stabellini@xilinx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.