Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-05-08 Thread Ian Campbell
On Wed, 2015-04-08 at 20:24 +0300, Andrii Anisov wrote: I was thinking about this a little more... > The context here is pretty simple: just a workaround of the real > system limitations: > 1. Renesas R-Car H2 evaluation board lager has 4GB of RAM, 2GB > mapped under 4GB boundary and

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-16 Thread Ian Campbell
On Fri, 2015-04-10 at 15:49 +0100, Julien Grall wrote: > On 10/04/15 15:38, Andrii Anisov wrote: > > Julien, > > > >>> Secondary CPUs run on unrelocated copy of Xen until turning on MMU. > >>> After turning on MMU secondary CPUs run on relocated copy of Xen. > >> > >> The non-relocated copy of Xen

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-15 Thread Ian Campbell
On Wed, 2015-04-08 at 15:36 +0300, Iurii Konovalenko wrote: > From: Iurii Konovalenko > > Primary CPU relocate Xen in over 4GB space and wake up seondary CPUs. > Secondary CPUs run on unrelocated copy of Xen until turning on MMU. Which is a significant difference I think, and requires careful ch

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-15 Thread Ian Campbell
On Wed, 2015-04-08 at 17:05 +0100, Julien Grall wrote: > > -/* Setup boot_pgtable: */ > > +/*Skip constructing TLBs for secondary CPUs, use constructed by > > CPU0*/ > > /* ... */ > > TLBs is confusing. I first though you were talking to Translation > Lookaside Buffer. Was "tbls

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-14 Thread Ian Campbell
On Fri, 2015-04-10 at 15:25 +0100, Julien Grall wrote: > On 10/04/15 14:58, Iurii Konovalenko wrote: > > Hi, Julien! > > Hi Iurii, > > > On Wed, Apr 8, 2015 at 7:05 PM, Julien Grall > > wrote: > > > >> The virtualization extension requires LPAE. Any reason to make this > >> optional? > > I agr

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-08 Thread Andrii Anisov
>>Therefore we needed to move all the rest (XEN, rest of domains) OVER 4GB. Andrii Anisov | Team Lead GlobalLogic Kyiv, 03038, Protasov Business Park, M.Grinchenka, 2/1 P +38.044.492.9695x3664 M +380505738852 S andriyanisov www.globallogic.com http://www.globallogi

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-08 Thread Andrii Anisov
> OOI, can you give more context why you need to relocate Xen over 4GB? Julien, The context here is pretty simple: just a workaround of the real system limitations: 1. Renesas R-Car H2 evaluation board lager has 4GB of RAM, 2GB mapped under 4GB boundary and 2GB over. 2. The R-Car2 chip

Re: [Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-08 Thread Julien Grall
Hi Iurii, OOI, can you give more context why you need to relocate Xen over 4GB? On 08/04/15 13:36, Iurii Konovalenko wrote: > From: Iurii Konovalenko > > Primary CPU relocate Xen in over 4GB space and wake up seondary CPUs. Typoes: s/relocate/relocates s/seondary/secondary > Secondary CPUs r

[Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Primary CPU relocate Xen in over 4GB space and wake up seondary CPUs. Secondary CPUs run on unrelocated copy of Xen until turning on MMU. After turning on MMU secondary CPUs run on relocated copy of Xen. To add ability to relocate Xen in over 4GB space add following to co