From: Ian Campbell <ian.campbell@citrix.com>
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Cc: Tim Deegan <tim@xen.org>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [RFC PATCH v2] xen: arm: move rambase definitions to Rules.mk
Date: Fri, 22 Aug 2014 17:05:12 +0100 [thread overview]
Message-ID: <1408723512.17003.22.camel@citrix.com> (raw)
In-Reply-To: <1408705763-20601-1-git-send-email-andrii.tseglytskyi@globallogic.com>
On Fri, 2014-08-22 at 14:09 +0300, Andrii Tseglytskyi wrote:
> The reason of this pathch is the following - guest domain OS may
> use iomem mappings. It is a typical way to handle devices in domU.
> On some SoCs iomem starts from 0x40000000 base. Therefore it is
> almost impossible to use iomem mappings, because it conflicts with
> GUEST_RAM0_BASE pointer, which has similar value. Patch allows
> to configure this from compile command line.
>
> Verified on OMAP5 with the following settings:
> GUEST_CFG_RAM_BASE=0x80000000ULL GUEST_CFG_RAM_SIZE=0x80000000ULL
I'm sorry but this approach is not going to fly. Apart from some debug
functionality we do not want to be baking h/w specifics into the Xen
binary at compile time.
The correct solution to the problem you are trying to solve is to make
the guest address space layout dynamic and settable by the toolstack,
i.e. by providing a domctl to set the GIC and other base addresses on a
per-domain basis (RAM I think is already handleable using
populate_physmap).
Ian.
next prev parent reply other threads:[~2014-08-22 16:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 11:09 [RFC PATCH v2] xen: arm: move rambase definitions to Rules.mk Andrii Tseglytskyi
2014-08-22 16:05 ` Ian Campbell [this message]
2014-08-22 18:22 ` Andrii Tseglytskyi
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=1408723512.17003.22.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=andrii.tseglytskyi@globallogic.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.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.