From: Ian Campbell Subject: Re: [PATCH v3 08/11] xen: arm: rewrite start of day page table and cpu bring up Date: Fri, 27 Sep 2013 16:52:35 +0100 Message-ID: <1380297155.13347.24.camel@kazak.uk.xensource.com> References: <1380276965.29483.178.camel@kazak.uk.xensource.com> <1380277240-27900-8-git-send-email-ian.campbell@citrix.com> <52458885.9080705@linaro.org> <1380291044.8994.100.camel@hastur.hellion.org.uk> <1380291667.29483.196.camel@kazak.uk.xensource.com> <524596A7.7090101@linaro.org> <1380292706.13347.10.camel@kazak.uk.xensource.com> <1380295073.13347.12.camel@kazak.uk.xensource.com> <5245A489.2020502@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5245A489.2020502@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2013-09-27 at 16:30 +0100, Julien Grall wrote: > On 09/27/2013 04:17 PM, Ian Campbell wrote: > > On Fri, 2013-09-27 at 15:38 +0100, Ian Campbell wrote: > >> @@ -535,6 +572,10 @@ int init_secondary_pagetables(int cpu) > >> per_cpu(xen_pgtable, cpu) = first; > >> per_cpu(xen_dommap, cpu) = domheap; > >> > >> + /* Set init_ttbr for this CPU coming up */ > >> + init_ttbr = (uintptr_t) THIS_CPU_PGTABLE + phys_offset; > >> + flush_xen_dcache(init_ttbr); > >> + > >> return 0; > >> } > >> #endif > > > > /me puts on his donkey ears. > > > > We don't really want to run all 32-bit CPUs on CPU0's pagetables, do we > > now... > > It's now boot on the arndale. With the 2 changes (this one and the > smp_cpus_init...): > > Acked-by: Julien Grall Thanks, I applied this series now, plus the EXTRA one which you just acked. BTW I removed the wording about being untested from the exynos5 patch, since I know you did test it (thanks!). My plan is to do a sweep of the wiki on Monday (docs day) and update it to talk about using boot-wrappers on models and reference u-boot patches etc... Ian.