Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-18 Thread Stefano Stabellini
On Wed, 18 Apr 2018, Julien Grall wrote: > On 18/04/18 11:45, Mirela Simonovic wrote: > > On Tue, Apr 17, 2018 at 4:11 PM, Julien Grall wrote: > > > > > > > > > On 17/04/18 13:54, Mirela Simonovic wrote: > > > > > > > > Hi Julien, > > > > > > > > > Hi, > > > > > > > > > > > On Wed, Apr 11,

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-18 Thread Julien Grall
On 18/04/18 11:45, Mirela Simonovic wrote: On Tue, Apr 17, 2018 at 4:11 PM, Julien Grall wrote: On 17/04/18 13:54, Mirela Simonovic wrote: Hi Julien, Hi, On Wed, Apr 11, 2018 at 5:11 PM, Julien Grall wrote: Hi, On 11/04/18 14:19, Mirela Simonovic wrote: In existing code the p

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-18 Thread Mirela Simonovic
On Tue, Apr 17, 2018 at 4:11 PM, Julien Grall wrote: > > > On 17/04/18 13:54, Mirela Simonovic wrote: >> >> Hi Julien, > > > Hi, > >> >> On Wed, Apr 11, 2018 at 5:11 PM, Julien Grall >> wrote: >>> >>> Hi, >>> >>> On 11/04/18 14:19, Mirela Simonovic wrote: In existing code the pagin

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-18 Thread Mirela Simonovic
Hi Julien, On Wed, Apr 18, 2018 at 11:48 AM, Julien Grall wrote: > > > On 17/04/18 16:22, Mirela Simonovic wrote: >> >> Hi Julien, >> >> On Tue, Apr 17, 2018 at 4:11 PM, Julien Grall >> wrote: >>> >>> >>> >>> On 17/04/18 13:54, Mirela Simonovic wrote: Hi Julien, >>> >>> >>> >>> Hi

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-18 Thread Julien Grall
On 17/04/18 16:22, Mirela Simonovic wrote: Hi Julien, On Tue, Apr 17, 2018 at 4:11 PM, Julien Grall wrote: On 17/04/18 13:54, Mirela Simonovic wrote: Hi Julien, Hi, On Wed, Apr 11, 2018 at 5:11 PM, Julien Grall wrote: Hi, On 11/04/18 14:19, Mirela Simonovic wrote: In existin

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-17 Thread Mirela Simonovic
Hi Julien, On Tue, Apr 17, 2018 at 4:11 PM, Julien Grall wrote: > > > On 17/04/18 13:54, Mirela Simonovic wrote: >> >> Hi Julien, > > > Hi, > >> >> On Wed, Apr 11, 2018 at 5:11 PM, Julien Grall >> wrote: >>> >>> Hi, >>> >>> On 11/04/18 14:19, Mirela Simonovic wrote: In existing co

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-17 Thread Julien Grall
On 17/04/18 13:54, Mirela Simonovic wrote: Hi Julien, Hi, On Wed, Apr 11, 2018 at 5:11 PM, Julien Grall wrote: Hi, On 11/04/18 14:19, Mirela Simonovic wrote: In existing code the paging for secondary CPUs is setup only in boot flow. The setup is triggered from start_xen function after

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-17 Thread Mirela Simonovic
Hi Julien, On Wed, Apr 11, 2018 at 5:11 PM, Julien Grall wrote: > Hi, > > On 11/04/18 14:19, Mirela Simonovic wrote: >> >> In existing code the paging for secondary CPUs is setup only in boot flow. >> The setup is triggered from start_xen function after all CPUs are brought >> online. In other w

Re: [Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-11 Thread Julien Grall
Hi, On 11/04/18 14:19, Mirela Simonovic wrote: In existing code the paging for secondary CPUs is setup only in boot flow. The setup is triggered from start_xen function after all CPUs are brought online. In other words, the initialization of VTCR_EL2 register is done out of the cpu_up/start_seco

[Xen-devel] [PATCH 6/7] xen/arm: Setup virtual paging for secondary CPUs in non-boot scenario

2018-04-11 Thread Mirela Simonovic
In existing code the paging for secondary CPUs is setup only in boot flow. The setup is triggered from start_xen function after all CPUs are brought online. In other words, the initialization of VTCR_EL2 register is done out of the cpu_up/start_secondary control flow. However, the cpu_up flow shoul