From: Julien Grall <julien@xen.org>
To: xen-devel@lists.xenproject.org
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
minyard@acm.org, paul@xen.org,
Andrew Cooper <andrew.cooper3@citrix.com>,
Julien Grall <jgrall@amazon.com>,
roman@zededa.com, George Dunlap <george.dunlap@citrix.com>,
jeff.kubascik@dornerworks.com, Jan Beulich <jbeulich@suse.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
Subject: [PATCH for-4.14 0/3] Remove the 1GB limitation on Rasberry Pi 4
Date: Mon, 18 May 2020 12:30:05 +0100 [thread overview]
Message-ID: <20200518113008.15422-1-julien@xen.org> (raw)
From: Julien Grall <jgrall@amazon.com>
Hi all,
At the moment, a user who wants to boot Xen on the Raspberry Pi 4 can
only use the first GB of memory.
This is because several devices cannot DMA above 1GB but Xen doesn't
necessarily allocate memory for Dom0 below 1GB.
This small series is trying to address the problem by allowing a
platform to restrict where Dom0 banks are allocated.
This is also a candidate for Xen 4.14. Without it, a user will not be
able to use all the RAM on the Raspberry Pi 4.
This series has only be slighlty tested. I would appreciate more test on
the Rasbperry Pi 4 to confirm this removing the restriction.
Cheers,
Cc: paul@xen.org
Julien Grall (3):
xen/arm: Allow a platform to override the DMA width
xen/arm: Take into account the DMA width when allocating Dom0 memory
banks
xen/arm: plat: Allocate as much as possible memory below 1GB for dom0
for RPI
xen/arch/arm/domain_build.c | 32 +++++++++++++---------
xen/arch/arm/platform.c | 5 ++++
xen/arch/arm/platforms/brcm-raspberry-pi.c | 1 +
xen/include/asm-arm/mm.h | 2 ++
xen/include/asm-arm/numa.h | 5 ----
xen/include/asm-arm/platform.h | 2 ++
6 files changed, 29 insertions(+), 18 deletions(-)
--
2.17.1
next reply other threads:[~2020-05-18 11:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 11:30 Julien Grall [this message]
2020-05-18 11:30 ` [PATCH for-4.14 1/3] xen/arm: Allow a platform to override the DMA width Julien Grall
2020-05-18 18:24 ` Volodymyr Babchuk
2020-05-20 22:01 ` Stefano Stabellini
2020-05-18 11:30 ` [PATCH for-4.14 2/3] xen/arm: Take into account the DMA width when allocating Dom0 memory banks Julien Grall
2020-05-18 20:34 ` Volodymyr Babchuk
2020-05-19 16:55 ` Julien Grall
2020-05-18 11:30 ` [PATCH for-4.14 3/3] xen/arm: plat: Allocate as much as possible memory below 1GB for dom0 for RPI Julien Grall
2020-05-18 20:36 ` Volodymyr Babchuk
2020-05-19 0:02 ` Corey Minyard
2020-05-19 17:07 ` Julien Grall
2020-05-19 17:06 ` Julien Grall
2020-05-19 3:08 ` [PATCH for-4.14 0/3] Remove the 1GB limitation on Rasberry Pi 4 Tamas K Lengyel
2020-05-19 17:22 ` Julien Grall
2020-05-19 23:43 ` Tamas K Lengyel
2020-05-19 23:48 ` Stefano Stabellini
2020-05-19 23:50 ` Roman Shaposhnik
2020-05-20 2:15 ` Tamas K Lengyel
2020-05-20 2:28 ` Roman Shaposhnik
2020-05-20 3:06 ` Tamas K Lengyel
2020-05-20 22:13 ` Stefano Stabellini
2020-05-21 17:50 ` Julien Grall
2020-05-21 18:12 ` Stefano Stabellini
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=20200518113008.15422-1-julien@xen.org \
--to=julien@xen.org \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=jeff.kubascik@dornerworks.com \
--cc=jgrall@amazon.com \
--cc=minyard@acm.org \
--cc=paul@xen.org \
--cc=roman@zededa.com \
--cc=sstabellini@kernel.org \
--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).